Skip to main content

Bulk Operations User Roles

POST 

/user-roles/bulk/operations/

add/update/delete multiple user roles in one operation.

Request

Body

    create

    object[]

  • Array [

  • user

    object

    required

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

    role

    object

    required

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

    scope

    object

    required

    tier stringrequired

    Possible values: [account, team, target]

    • account - account
    • team - team
    • target - target

    team

    object

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

    target

    object

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

  • ]

  • update

    object[]

  • Array [

  • id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    user

    object

    required

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

    role

    object

    required

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

    scope

    object

    required

    tier stringrequired

    Possible values: [account, team, target]

    • account - account
    • team - team
    • target - target

    team

    object

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

    target

    object

    id stringrequired

    Possible values: >= 12 characters and <= 12 characters

    A unique Base58 value identifying this object.

  • ]

  • delete

    object[]

  • Array [

  • id stringrequired

    Possible values: >= 12 characters and <= 12 characters

  • ]

Responses

Schema

    id stringrequired

    A unique Base58 value identifying this object.

    user

    object

    required

    id stringrequired

    A unique Base58 value identifying this object.

    email email

    Possible values: <= 254 characters

    Email of the user.

    name stringrequired

    Possible values: <= 60 characters

    Name of the user.

    role

    object

    required

    id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired

    Possible values: <= 255 characters

    Role's name.

    permissions

    object[]

  • Array [

  • id stringrequired

    Possible values: <= 255 characters

    Textual identifier.

    name stringrequired

    Possible values: <= 255 characters

    Permission name.

  • ]

  • custom booleanrequired
    description stringnullable

    Short description.

    scope

    object

    required

    tier stringrequired

    target

    object

    id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired
    url urirequired

    Target URL.

    team

    object

    id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired
Loading...