Gateway Role Assignments
The gateway role assignments service provides functionality to assign role assignments to a gateway so that the gateway can access the PingOne services it needs. Only gateway resources with a type property value of PING_FEDERATE can have assigned built-in roles.
|
If the actor creating the |
Use these data models and requests to manage gateway role assignments. For more information, refer to Roles.
Role assignment scopes can be:
-
Organization
-
Environment
-
Population
-
Application
Gateway role assignments data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
Required |
Immutable |
The UUID for the gateway. |
|
String |
Required |
Immutable |
The environment associated with the gateway. |
|
String |
N/A |
Read-only |
The gateway role assignment ID. |
|
String |
Required |
Immutable |
The role ID. |
|
String |
Required |
Immutable |
The role assignment scope ID. When this is an application ID, because an application ID is guarenteed to be globally unique (across all environments), the application ID here eliminates the need to also specify the application environment ID. |
|
String |
Required |
Immutable |
The type of resource defining the scope of the Role assignment. Options are |
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. |
Gateway role assignment errors
In addition to the general error codes, gateway 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: Describes the failing property, such as |
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: The actor is not allowed to assign the role, or to remove it on Details: Describes the failed privilege check, such as |
400 |
|
|
Message: When and detailsWhen: The access token does not contain the claims needed to identify the actor Details: |
400 |
|
None |
Message: When and detailsWhen: A path identifier cannot be parsed as a UUID Details: None. |
400 |
|
|
Message: When and detailsWhen: Details: Describes the rejected filter or order, such as |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the Details: None. |
404 |
|
None |
Message: When and detailsWhen: The gateway ID in the request URL does not exist in the environment or is not a gateway type that supports role assignments (applies to all operations) Details: None. |
404 |
|
None |
Message: When and detailsWhen: A Details: None. |