role-resource

Update an existing custom role

Changed on
put/api/roles/{name}

Request

Path parameters

namestring required

Request body

namestring
permissionsstring[]

Response

OK

object required

Changes

    • breaking

      the request's body type changed from no type to object

    • breaking

      the request property's minItems was increased to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      added the pattern ^[A-Z][A-Z0-9_]*$ to the request property

    • info

      the request property became optional

    • info

      the request property became optional