User Application Role Assignments
The users application role assignments endpoint implements functions to create, read, and delete the PingOne Authorize application role assignments associated with user resources. For more information about application roles and the permissions associated with each role, refer to PingOne Authorize Application Roles.
Users role assignments data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
N/A |
Read only |
Specifies the environment associated with the user. |
|
String |
Required |
Mutable |
Specifies the application role ID to assign to the specified user. |
|
String |
N/A |
Read only |
Specifies the name of the application role assigned to the user. |
|
String |
N/A |
Read only |
Specifies the description of the application role assigned to the user. |
Response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
201 |
Successfully created. |
204 |
Successfully removed. No content. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
404 |
The requested resource was not found. |
User application role assignment errors
In addition to the general error codes, user application role assignment operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the Details: None. |
404 |
|
None |
Message: When and detailsWhen: The application role ID or user ID referenced by the request does not exist, or the role assignment to delete does not exist Details: None. |
500 |
|
None |
Message: When and detailsWhen: The user profile cannot be serialized when creating an assignment Details: None. |