Skip to main content

Bulk Operations on API User Roles

POST 

/api-user-roles/bulk/operations/

Add/update/delete multiple API 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

    create

    object[]

  • Array [

  • 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
  • ]

  • update

    object[]

  • Array [

  • 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
  • ]

  • delete

    object

    ids string[]required

    List of object IDs.

Loading...