tokens

Gets a new blank token object

Changed on

Returns a blank object with default values

get/api/v1/tokens/create

Request

Query parameters

includestring
Example:first_load

Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes

Headers

X-API-TOKENstring required
Example:TOKEN

The API token to be used for authentication

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

Response

A blank token object

namestring

The token name

tokenstring

The token value

is_systemboolean

Determines whether the token is created by the system rather than a user

Example response

{
  "name": "Token Name",
  "token": "AS3df3jUUH765fhfd9KJuidj3JShjA",
  "is_system": true
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status