Permissions Controller Create

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
actionenumRequired

actions you want to add about the subject

Allowed values:
subjectenumRequired

subject to which permissions should be applied, e.g., orders

descriptionstringOptional

Response

Returns permission created

idstring
namestring
descriptionstring
actionenumOptional

actions you want to add about the subject

Allowed values:
subjectenumOptional

subject to which permissions should be applied, e.g., orders

Errors