Enterprise Delete Enterprise

Enterprise Delete Enterprise

Deletes the specified enterprise (by id or enterpriseId).

Privileges required:

DELETE ENTERPRISE

Request
URI
POST
https://{api_host}/portal/rest/enterprise/deleteEnterprise
COPY
Request Body
{
    "enterpriseId": 0
}
integer
enterpriseId
Optional

enterpriseId

Responses
200

Request was successfully processed

Returns enterprise_delete_enterprise_result of type(s) application/json
This response body class contains all of the following: Inlineenterprise_delete_enterprise_result0
{
    "id": 123,
    "rows": 1
}

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 '{}' https://{api_host}/portal/rest/enterprise/deleteEnterprise