Skip to main content

core_tokens_update

PUT 

/core/tokens/:identifier/

Token Viewset

Request

Path Parameters

    identifier stringrequired

Body

required

    managed Managed by authentik (string)nullable

    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

    identifier stringrequired

    Possible values: non-empty and <= 255 characters, Value must match regular expression ^[-a-zA-Z0-9_]+$

    intent IntentEnum (string)

    Possible values: [verification, api, recovery, app_password]

    user integer
    description string
    expires date-timenullable
    expiring boolean

Responses

Schema

    pk uuidrequired
    managed Managed by authentik (string)nullable

    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.

    identifier stringrequired

    Possible values: <= 255 characters, Value must match regular expression ^[-a-zA-Z0-9_]+$

    intent IntentEnum (string)

    Possible values: [verification, api, recovery, app_password]

    user integer

    user_obj

    object

    required

    User Serializer

    pk ID (integer)required
    username stringrequired

    Possible values: <= 150 characters

    name stringrequired

    User's display name.

    is_active Active (boolean)

    Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

    last_login date-timenullable
    is_superuser booleanrequired
    groups uuid[]

    groups_obj

    object[]

    nullable

    required

  • Array [

  • pk uuidrequired
    num_pk integerrequired

    Get a numerical, int32 ID for the group

    name stringrequired
    is_superuser boolean

    Users added to this group will be superusers.

    parent uuidnullable
    parent_name stringnullablerequired
    attributes object
  • ]

  • email email

    Possible values: <= 254 characters

    avatar stringrequired

    User's avatar, either a http/https URL or a data URI

    attributes object
    uid stringrequired
    path string
    type UserTypeEnum (string)

    Possible values: [internal, external, service_account, internal_service_account]

    uuid uuidrequired
    description string
    expires date-timenullable
    expiring boolean
Loading...