Skip to main content

Update Role

PUT 

/roles/:id/

Request

Path Parameters

    id stringrequired

Body

required

    name stringrequired

    Possible values: <= 255 characters

    Role's name.

    permissions

    object[]

  • Array [

  • id stringrequired

    Possible values: <= 255 characters

    Textual identifier.

  • ]

  • description stringnullable

    Short description.

Responses

Schema

    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.

Loading...