core_tokens_partial_update
PATCH/core/tokens/:identifier/
Token Viewset
Request
Path Parameters
- application/json
Body
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Possible values: non-empty
Possible values: non-empty
and <= 255 characters
, Value must match regular expression ^[-a-zA-Z0-9_]+$
Possible values: [verification
, api
, recovery
, app_password
]
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
Possible values: <= 255 characters
, Value must match regular expression ^[-a-zA-Z0-9_]+$
Possible values: [verification
, api
, recovery
, app_password
]
user_obj
object
required
User Serializer
Possible values: <= 150 characters
User's display name.
Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
groups_obj
object[]
nullable
required
Get a numerical, int32 ID for the group
Users added to this group will be superusers.
Possible values: <= 254 characters
User's avatar, either a http/https URL or a data URI
Possible values: [internal
, external
, service_account
, internal_service_account
]
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"managed": "string",
"identifier": "string",
"intent": "verification",
"user": 0,
"description": "string",
"expires": "2024-07-29T15:51:28.071Z",
"expiring": true
}
- application/json
- Schema
- Example (from schema)
Schema
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}