Create Token

Create Token

Returns the list of all api tokens for a user. The newly created api token is the last element of returned list.

Request
URI
POST
https://{api_host}/api/v2/apitoken
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerListUserApiToken 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
        }
    ]
}
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>' https://{api_host}/api/v2/apitoken