Order Management System REST API - Identity Controller
The identity
URI provides access to permissions for all known identities.
Retrieves all permissions
Section titled “Retrieves all permissions”GET /identity
Retrieves permissions for all registered identities.
Response
Section titled “Response”Code | Status | Description |
---|---|---|
200 | Success | Content is an array of Permissions objects. |
403 | Failure | The authenticated identity does not have the Admin permission. |
Add or update permissions
Section titled “Add or update permissions”POST /identity
Adds or updates the permissions for an identity.
Requires the Admin
feature permission.
A single Permissions object.
Response
Section titled “Response”Code | Status | Description |
---|---|---|
204 | Success | Update completed successfully, or the update would make no changes. |
403 | Failure | The authenticated identity does not have the Admin permission. |
422 | Failure | Invalid data was provided. Content is a JSON array of one or more error codes describing the problem. |