Properties
| Name | Type | Description |
|---|---|---|
| tag | string | This is the tag for the token. It represents its scope. |
| name | string | This is the name of the token. This is just for your own reference. |
| restrictions | object | This are the restrictions for the token. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UpdateTokenDTO",
"title": "UpdateTokenDTO",
"type": "object",
"properties": {
"tag": {
"type": "string",
"description": "This is the tag for the token. It represents its scope.",
"enum": [
"private",
"public"
]
},
"name": {
"type": "string",
"description": "This is the name of the token. This is just for your own reference.",
"maxLength": 40
},
"restrictions": {
"description": "This are the restrictions for the token.",
"allOf": [
{
"$ref": "#/components/schemas/TokenRestrictions"
}
]
}
}
}