linode · Schema

TokenRequest

Properties

Name Type Description
scopes string The OAuth scopes for the token.
label string The label for the token.
expiry string When the token should expire.
View JSON Schema on GitHub

JSON Schema

linode-tokenrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TokenRequest",
  "title": "TokenRequest",
  "type": "object",
  "required": [
    "scopes",
    "label"
  ],
  "properties": {
    "scopes": {
      "type": "string",
      "description": "The OAuth scopes for the token."
    },
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "The label for the token."
    },
    "expiry": {
      "type": "string",
      "format": "date-time",
      "description": "When the token should expire."
    }
  }
}