Enterprise User Delete Enterprise User

Enterprise User Delete Enterprise User

Deletes the specified enterprise user (by id or username). Note: enterpriseId is a required parameter when invoking this method as an operator or as a partner user.

Privileges required:

DELETE ENTERPRISE_USER

Request
URI
POST
https://{api_host}/portal/rest/enterpriseUser/deleteEnterpriseUser
COPY
Request Body
{
    "id": 0,
    "enterpriseId": 0,
    "username": "string"
}
integer
id
Optional

id

integer
enterpriseId
Optional

enterpriseId

string
username
Optional

username

Responses
200

Request was successfully processed

Returns enterprise_user_delete_enterprise_user_result of type(s) application/json
This response body class contains all of the following: Inlineenterprise_user_delete_enterprise_user_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/enterpriseUser/deleteEnterpriseUser