Skip to main content

core_users_update

PUT 

/core/users/:id/

User Viewset

Request

Path Parameters

    id integerrequired

    A unique integer value identifying this User.

Body

required

    username stringrequired

    Possible values: non-empty and <= 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
    groups uuid[]
    email email

    Possible values: <= 254 characters

    attributes

    object

    path string

    Possible values: non-empty

    type UserTypeEnum (string)

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

Responses

Schema

    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

    Possible values: <= 80 characters

    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
Loading...