Roles

Create a new role

Required scope - write_role

post/api/v1/roles

Request body

namestring required
notestring

Response

Changes

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

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-optional

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

      response-property-became-optional

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

      response-property-became-optional

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

      response-property-became-optional

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

      response-property-became-optional

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

      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