Create Permission
Last updated
Last updated
POST /permissions
Creates a permission that allows certain specified operations to be executed. Response is either the permission object itself (success) or a reason why it was not possible to create the permission (failure).
Permissions:Create
Always Required
In the request body specify the permisison name, as well as a list of operations that this permission will allow.
name
String -Required
Name of the permission.
operations
String Array - Required
A permission name cannot be an empty string and a permission must have at least one operation specified.
A permission name is the unique identifier of a permission created in your organization. Therefore, multiple permissions with the same name cannot exist. If a permission has been archived, its name is still considered as taken.
List of allowed operations. This for all the available operations.