Assign Permission
Last updated
Last updated
POST /permissions/{permissionId}/assignments
Creates a permission assignment, effectively granting a permission to a specific Identity. Response confirms the assignment (success) or gives the reason why it's not possible (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 identity ID.
Request body fields | Type - Required | Description |
---|---|---|
Assignment IDs look like this: as-stream-pizza-08edcfff93
. They follow this format: as-<random-words>-<random-alphanumeric-string>
PermissionAssignments:Create
Always Required
identityId
String - Required
The ID of the identity the permission is being assigned to.