role

Create a role

This can only be done by a logged in user who has the required privileges.

post/api/v1/roles

Request body

namestring
descriptionstring
permissionsPermissions[]
isGlobalboolean

Response

Id of created role

idstring
namestring
permissionsPermissions[]
scopestring
createdAtstring
updatedAtstring
isGlobalboolean
descriptionstring

Changes

Changed in 7 of the 19 revisions of this API.1515

    • added the optional property description to the response with the 200 status

      response-optional-property-added

    • added the optional property isGlobal to the response with the 200 status

      response-optional-property-added

    • removed the optional property isCreated from the response with the 200 status

      response-optional-property-removed

    • removed the optional property isUpdated from the response with the 200 status

      response-optional-property-removed

    • added the optional property createdAt to the response with the 200 status

      response-optional-property-added

    • added the optional property updatedAt to the response with the 200 status

      response-optional-property-added

    • added the optional property id to the response with the 200 status

      response-optional-property-added

    • added the optional property isCreated to the response with the 200 status

      response-optional-property-added

    • added the optional property isUpdated to the response with the 200 status

      response-optional-property-added

    • removed the optional property description from the response with the 200 status

      response-optional-property-removed

    • added the optional property scope to the response with the 200 status

      response-optional-property-added

    • removed the request property scope

      request-property-removed

    • removed the optional property scope from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property description

      new-optional-request-property

    • added the new optional request property isGlobal

      new-optional-request-property

    • added the optional property description to the response with the 200 status

      response-optional-property-added

    • the request's body type/format changed from / to object/

      request-body-type-changed

    • added the new optional request property name

      new-optional-request-property

    • added the new optional request property permissions

      new-optional-request-property

    • added the new optional request property scope

      new-optional-request-property

    • endpoint added

      endpoint-added

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