Skip to content

Retrieve a role resource set binding

Request

OAuth 2.0 scope:
  • okta.roles.read

Retrieves the binding of a role (identified by roleIdOrLabel) for a resource set (identified by resourceSetIdOrLabel)

Path
resourceSetIdOrLabelstringrequired

id or label of the resource set

Example:iamoJDFKaJxGIr0oamd9g
roleIdOrLabelstringrequired

id or label of the role

Example:cr0Yq6IJxGIr0ouum0g3
curl -i -X GET \
  https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g/bindings/cr0Yq6IJxGIr0ouum0g3

Responses

OK

Bodyapplication/json
idstring

id of the role resource set binding

Response
{ "id": "cr0Yq6IJxGIr0ouum0g3", "_links": { "self": { … }, "members": { … }, "resource-set": { … } } }