Generate Token Service Account
Returns the list of all api tokens for the service account. The newly created api token is the last element of returned list.
Request
URI
POST
https://{api_host}/api/v2/apitoken/serviceaccount/{id}
COPY
Path Parameters
string
id
Required
id
Request Body
UserApiToken
of type(s)
application/json
Optional
Show optional properties
{
"tokenID": "string"
}
{
"tokenID": "string",
"tokenName": "string",
"account": "string",
"accountType": "string",
"lastUsed": 0,
"dateGenerated": 0
}
Responses
200
successful operation
Returns
ResponseContainerListUserApiToken
of type(s)
application/json
"ResponseContainerListUserApiToken Object"
object
status
Required
status
array of
object
response
Optional
Wavefront user api token entity for update requests
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"tokenID:"string"}' https://{api_host}/api/v2/apitoken/serviceaccount/{id}
On This Page
Api Token Operations
GET
Get All Tokens
POST
Create Token
GET
Get Customer Tokens
PUT
Delete Customer Token
GET
Get Customer Token
GET
Get Tokens Service Account
POST
Generate Token Service Account
PUT
Update Token Name Service Account
DELETE
Delete Token Service Account
PUT
Update Token Name
DELETE
Delete Token