About this resource
Representation of a non-paged collection of Permission items
Properties
Property | Description | Type |
---|---|---|
items | A collection of resource items. | Collection of Permission items |
Relations
Actions
Method | Action | Description | Response codes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PUT /user/{userId}/permissions | edituserpermission | Edits an existing user's permissions |
|
||||||||||
PUT /usergroup/{userGroupId}/permissions | editusergrouppermission | Edit an existing user group's permissions. |
|
Examples
Searching for the permissions of a user group
GET /usergroup/c590b5d487d54b878619a7fc00cce3e6/permissionsSearching for the permissions of a user
GET /user/51e0305b2074470880a7a80b00dbe930/permissions
Editing the permissions of a user group
Updating multiple permissions of a user group in one request is possible. All permissions are processed in order.
If one of the permissions fails to update, no subsequent permissions will be processed.
PUT /usergroup/c590b5d487d54b878619a7fc00cce3e6/permissions { "permissions": { "addOrUpdate": [{ "name": "RoleMyPermission", "value": "granted" }, { "name": "AnotherPermission", "value": "denied" }] } }
Editing the permissions of a user
Updating multiple permissions of a user in one request is possible. All permissions are processed in order.
If one of the permissions fails to update, no subsequent permissions will be processed.
PUT /user/c590b5d487d54b878619a7fc00cce3e6/permissions { "permissions": { "addOrUpdate": [{ "name": "RoleMyPermission", "value": "granted" }, { "name": "AnotherPermission", "value": "denied" }] } }