Enterprise Proxy Create Api Token
Creates an API Token according to the information specified . Lifetime should be in milliseconds . [ Token Lifetime should be less than or equal to 12 months]
Privileges required:
CREATE
PROXY_TOKEN
Request
URI
POST
https://{api_host}/portal/rest/enterpriseProxy/createApiToken
COPY
Request Body
Show optional properties
{
"enterpriseUserId": 0,
"name": "string",
"lifetimeMs": 0
}
{
"enterpriseUserId": 0,
"name": "string",
"description": "string",
"lifetimeMs": 0
}
integer
enterpriseUserId
Required
enterpriseUserId
string
name
Required
name
string
description
Optional
description
integer
lifetimeMs
Required
lifetimeMs
Responses
200
Request was successfully processed
Returns
create_api_token_result
of type(s)
application/json
This response body class contains all of the following:
Inlinecreate_api_token_result0
{
"id": 123,
"rows": 1
}
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"enterpriseUserId:"integer","name:"string","lifetimeMs:"integer"}' https://{api_host}/portal/rest/enterpriseProxy/createApiToken
All Operations
POST
Enterprise Create Api Token
POST
Enterprise Download Api Token
POST
Enterprise Get Api Tokens
POST
Enterprise Refresh Api Token
POST
Enterprise Revoke Api Token
POST
Enterprise Proxy Create Api Token
POST
Enterprise Proxy Download Api Token
POST
Enterprise Proxy Get Api Tokens
POST
Enterprise Proxy Revoke Api Token
POST
Enterprise User Get Api Tokens
POST
Network Create Api Token
POST
Network Download Api Token
POST
Network Get Api Tokens
POST
Network Refresh Api Token
POST
Network Revoke Api Token
POST
Operator User Get Api Tokens