Skip to main content

core_groups_create

POST 

/core/groups/

Group Viewset

Request

Body

required

    name stringrequired

    Possible values: non-empty

    is_superuser boolean

    Users added to this group will be superusers.

    parent uuidnullable
    users integer[]

    attributes

    object

    property name* any
    roles uuid[]

Responses

Schema

    pk uuidrequired
    num_pk integerrequired
    name stringrequired
    is_superuser boolean

    Users added to this group will be superusers.

    parent uuidnullable
    parent_name stringnullablerequired
    users integer[]

    users_obj

    object[]

    nullable

    required

  • Array [

  • pk ID (integer)required
    username stringrequired

    Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

    Possible values: <= 150 characters, Value must match regular expression ^[\w.@+-]+$

    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
    email email

    Possible values: <= 254 characters

    attributes

    object

    property name* any
    uid stringrequired
  • ]

  • attributes

    object

    property name* any
    roles uuid[]

    roles_obj

    object[]

    required

  • Array [

  • pk uuidrequired
    name stringrequired

    Possible values: <= 150 characters

  • ]

Loading...