The Role Resource Set Bindings API provides operations to assign members to a Custom Role that targets resources in a Resource Set. The returned Role Resource Set Binding is a single unique combination of a principal, a resource set, and a custom role. You can assign custom roles to admins who are scoped to the designated resources in a resource set.
okta.roles.read
Lists all Bindings for a Resource Set with pagination support
after | string The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the |
OK
Forbidden
Not Found
Too Many Requests
{- "roles": [
- {
- "id": "cr0WxyzJxGIr0ouum0g4",
- "_links": {
}
}
], - "_links": {
- "self": {
}, - "resource-set": {
},
}
}
okta.roles.manage
Creates a Binding for the Resource Set, Custom Role, and members (Users or Groups)
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "role": "cr0Yq6IJxGIr0ouum0g3",
}
{- "_links": {
- "bindings": {
},
}
}
okta.roles.read
Retrieves the Binding of a Role (identified by roleIdOrLabel
) in a Resource Set (identified by resourceSetIdOrLabel
)
OK
Forbidden
Not Found
Too Many Requests
{- "id": "cr0Yq6IJxGIr0ouum0g3",
- "_links": {
- "bindings": {
},
}
}
okta.roles.manage
Deletes a Binding of a Role (identified by roleIdOrLabel
) and a Resource Set (identified by resourceSetIdOrLabel
)
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}