permissionAndRoleManagement
Create a custom role
Organisation.Role + Create
<div className="permission-callout__roles"><span className="permission-callout__roles-label">Roles:</span> <Badge intent="info">Administrator</Badge></div> </Info>Creates a custom role in the Workspace. A Workspace can hold at most 50 custom roles, and the name must be unique within the Workspace.
Supply permissions either as permission_ids, using numeric IDs, or as permissions, using resource and action pairs, but not both. Retrieve the valid permissions with GET /api/v1/organisation/{orgId}/permission.
Use my in place of a numeric orgId to target the caller's own Workspace.
post/api/v1/organisation/{orgId}/role
Request
- Base URL: https://cdn.emnify.net
- URL: https://cdn.emnify.net/api/v1/organisation/{orgId}/role
- Auth: HTTP bearer
Path parameters
Workspace identifier. Either a positive integer organization ID, or the literal string my to target the caller's own Workspace.
Request body
Response
Successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.