Update Token Name

Update Token Name

Update the name of the specified api token

Request
URI
PUT
https://{api_host}/api/v2/apitoken/{id}
COPY
Path Parameters
string
id
Required

id


Request Body

Example Body:

{
  "tokenID": "Token identifier",
  "tokenName": "Token name"
}
UserApiToken2 of type(s) application/json
Optional

Show optional properties

{
    "tokenID": "string"
}
{
    "tokenID": "string",
    "tokenName": "string",
    "account": "string",
    "accountType": "string",
    "lastUsed": 0,
    "dateGenerated": 0
}
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerUserApiToken of type(s) application/json
"ResponseContainerUserApiToken Object"
object
status
Required

status

object
response
Optional

Wavefront user api token entity for update requests


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"tokenID:"string"}' https://{api_host}/api/v2/apitoken/{id}