Enterprise Get Api Tokens

Enterprise Get Api Tokens

Returns tokens based on parameters

Privileges required:

READ ENTERPRISE_TOKEN

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

enterpriseId

Responses
200

Request was successfully processed

Returns api_token_get_api_tokens_result of type(s) application/json
This response body class contains all of the following: Inlineapi_token_get_api_tokens_result0
{
    "id": 0,
    "tokenUuid": "string",
    "description": "string",
    "name": "string",
    "created": "string",
    "modified": "string",
    "expiration": "string",
    "downloaded": "string",
    "isRevoked": false,
    "createdByEnterpriseUserId": 0,
    "createdByOperatorUserId": 0,
    "networkId": 0,
    "enterpriseProxyId": 0,
    "enterpriseId": 0,
    "createdForOperatorUserId": 0,
    "createdForEnterpriseUserId": 0,
    "state": "string"
}

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/getApiTokens