permissionAndRoleManagement
Update a custom role
Organisation.Role + Update
<div className="permission-callout__roles"><span className="permission-callout__roles-label">Roles:</span> <Badge intent="info">Administrator</Badge></div> </Info>Partially updates a custom role. System roles can't be modified.
When you provide permission_ids or permissions, the field replaces the existing permission list. The two fields are mutually exclusive. 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.
patch/api/v1/organisation/{orgId}/role/{roleId}
Request
- Base URL: https://cdn.emnify.net
- URL: https://cdn.emnify.net/api/v1/organisation/{orgId}/role/{roleId}
- Auth: HTTP bearer
Path parameters
roleIdinteger required
Numeric identifier of the role.
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.