Read Gateway Role Assignments
GET {{apiPath}}/environments/{{envID}}/gateways/{{gatewayID}}/roleAssignments
The GET /environments/{{envID}}/gateways/{{gatewayID}}/roleAssignments
operation returns data for the role assignments associated with the gateway resource specified by its ID in the request URL.
Query parameter | Description |
---|---|
expand | Supported for the role and scope embedded resources. |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Supported for the role and scope embedded resources. |
RESPONSES
status: OK
{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/2feb8942-d059-4cf3-9346-0c6fb80cc586/roleAssignments"},"gateway":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/2feb8942-d059-4cf3-9346-0c6fb80cc586"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"_embedded":{"roleAssignments":[{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/2feb8942-d059-4cf3-9346-0c6fb80cc586/roleAssignments/26bf655e-7fd9-4014-912c-c016d18b2cdb"},"gateway":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/gateways/2feb8942-d059-4cf3-9346-0c6fb80cc586"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"26bf655e-7fd9-4014-912c-c016d18b2cdb","scope":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6","type":"ENVIRONMENT"},"role":{"id":"0bd9c966-7664-4ac1-b059-0ff9293908e2"},"environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"readOnly":false,"gateway":{"id":"2feb8942-d059-4cf3-9346-0c6fb80cc586"}}]},"count":1,"size":1}