Update Token Name Service Account
Update the name of the specified api token for the given service account
Request
URI
PUT
https://{api_host}/api/v2/apitoken/serviceaccount/{id}/{token}
COPY
Path Parameters
string
id
Required
id
string
token
Required
token
Request Body
UserApiToken2 of type(s) application/json
Optional
{
"tokenID": "string",
"tokenName": "string",
"account": "string",
"accountType": "string",
"lastUsed": 0,
"dateGenerated": 0
}
string
tokenID
Required
The identifier of the user API token
string
tokenName
Optional
The name of the user API token
string
account
Optional
The account who generated this token.
string
accountType
Optional
The user or service account generated this token.
Possible values are : USER_ACCOUNT, SERVICE_ACCOUNT, INACTIVE_SERVICE_ACCOUNT,
integer As int64 As int64
lastUsed
Optional
The last time this token was used
integer As int64 As int64
dateGenerated
Optional
The generation date of the token.
Responses
200
successful operation
Returns ResponseContainerUserApiToken of type(s) application/json
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"tokenID": "string",
"tokenName": "string",
"account": "string",
"accountType": "string",
"lastUsed": 0,
"dateGenerated": 0
}
}
On This Page
Api Token Operations
POST
Create Token
PUT
Delete Customer Token
DELETE
Delete Token
DELETE
Delete Token Service Account
POST
Generate Token Service Account
GET
Get All Tokens
GET
Get Customer Token
GET
Get Customer Tokens
GET
Get Tokens Service Account
PUT
Update Token Name
PUT
Update Token Name Service Account