Enterprise Revoke Api Token

Enterprise Revoke Api Token

Sets the token's state to revoked.

Privileges required:

UPDATE ENTERPRISE_TOKEN

Request
URI
POST
https://{api_host}/portal/rest/enterprise/revokeApiToken
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 api_token_revoke_api_token_result of type(s) application/json
This response body class contains all of the following: Inlineapi_token_revoke_api_token_result0
{
    "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 '{"id:"integer"}' https://{api_host}/portal/rest/enterprise/revokeApiToken