Roles

Update an existing role by ID

Required scope - write_role

put/api/v1/roles/{id}

Path parameters

idnumber required

The unique ID of the role

Request body

namestring
notestring

Response

Changes

Changed in 2 of the 50 revisions of this API.66

    • the response property role/createdAt became required for the status 200

      response-property-became-required

    • the response property role/deletedAt became required for the status 200

      response-property-became-required

    • the response property role/id became required for the status 200

      response-property-became-required

    • the response property role/name became required for the status 200

      response-property-became-required

    • the response property role/note became required for the status 200

      response-property-became-required

    • the response property role/updatedAt became required for the status 200

      response-property-became-required

    • the response property role/createdAt became optional for the status 200

      response-property-became-optional

    • the response property role/deletedAt became optional for the status 200

      response-property-became-optional

    • the response property role/id became optional for the status 200

      response-property-became-optional

    • the response property role/name became optional for the status 200

      response-property-became-optional

    • the response property role/note became optional for the status 200

      response-property-became-optional

    • the response property role/updatedAt became optional for the status 200

      response-property-became-optional

    This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog