Authentication

Creates a new tokens

post/token

Request

  • Base URL
    /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

idTokeninteger

Id Token

labelstring

label of the token

uuidstring nullable

uuid of the token

idUserstring nullable

id_user of the token

validitystring nullable

Date until which tocken is valid, if it is void it will never expire

lastUsagestring nullable

last_usage of the token

Example request

{
  "validity": "2023-02-21 08:34:16",
  "lastUsage": "2023-02-21 08:34:16"
}

Response

Incidence type object

idTokeninteger

Id Token

labelstring

label of the token

uuidstring nullable

uuid of the token

idUserstring nullable

id_user of the token

validitystring nullable

Date until which tocken is valid, if it is void it will never expire

lastUsagestring nullable

last_usage of the token

Example response

{
  "validity": "2023-02-21 08:34:16",
  "lastUsage": "2023-02-21 08:34:16"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.