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).
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Name | Conditions |
---|---|
In the request body specify the permisison name, as well as a list of operations that this permission will allow.
property | Type - Required | Description |
---|---|---|
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.
Permissions:Create
Always Required
name
String -Required
Name of the permission.
operations
String Array - Required
List of allowed operations. This this list for all the available operations.