Enterprise Delete Enterprise Network Segment

Enterprise Delete Enterprise Network Segment

Delete an enterprise network segment, by id.

Privileges required:

DELETE NETWORK_ALLOCATION

Request
URI
POST
https://{api_host}/portal/rest/enterprise/deleteEnterpriseNetworkSegment
COPY
Request Body

Show optional properties

{
    "id": 0
}
{
    "id": 0,
    "enterpriseId": 0
}
integer
id
Required

id

integer
enterpriseId
Optional

enterpriseId

Responses
200

Request was successfully processed

Returns deletion_confirmation of type(s) application/json
{
    "id": 123,
    "rows": 1
}
integer
id
Optional

The id of the deleted object.

string
error
Optional

An error message explaining why the method failed

integer
rows
Required

The number of rows modified


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"id:"integer"}' https://{api_host}/portal/rest/enterprise/deleteEnterpriseNetworkSegment