PingOne Platform APIs

Application Role Assignments

The PingOne Authorize`{{apiPath}}/v1/environments/{{envID}}/applicationRoles/{{appRoleID}}/assignments` endpoint provides operations to read application role assignments in PingOne.

Appliction role assignments data model

Property Type Required Mutable Description

id

String

N/A

Read-only

The ID of the API server operation. This is randomly generated when the operation is created.

role

Object

N/A

Read only

The role associated with the role assignment.

subject

Object

N/A

Read only

The user associated with the role assignment.

Response codes

Code Message

200

Successful operation.

400

The request could not be completed.

401

You do not have access to this resource.

403

You do not have permissions or are not licensed to make this request.

404

The requested resource was not found.

Application role assignment errors

In addition to the general error codes, application role assignment operations can return the following errors:

HTTP status Top‑level code Detail code When it happens and what the response contains

403

ACCESS_FAILED

None

Message: The actor attempting to perform the request is not authorized.

When and details

When: The actor lacks the applicationRoles:read:applicationRoleAssignment permission (GET operations)

Details: None

404

NOT_FOUND

None

Message: The request could not be completed. The requested resource was not found.

When and details

When: A GET request references an application role ID that does not exist

Details: None