Resource Set Resources

The Resource Set Resources API provides operations to manage Resources within a Resource Set. You can add or remove Resources in Resource Sets. See Supported Resources.

List all Resource Set Resources
OAuth 2.0: okta.roles.read

Lists all Resources for the Resource Set

Request
path Parameters
resourceSetIdOrLabel
required
string

id or label the Resource Set

Example: iamoJDFKaJxGIr0oamd9g
Responses
200

OK

403

Forbidden

404

Not Found

429

Too Many Requests

get/api/v1/iam/resource-sets/{resourceSetIdOrLabel}/resources
Request samples
Response samples
application/json
{}

Add more Resources to a Resource Set
OAuth 2.0: okta.roles.manage

Adds more Resources to a Resource Set

Request
path Parameters
resourceSetIdOrLabel
required
string

id or label the Resource Set

Example: iamoJDFKaJxGIr0oamd9g
Request Body schema: application/json
required
additions
Array of strings

A list of resources to add to the Resource Set

Responses
200

Success

400

Bad Request

403

Forbidden

404

Not Found

429

Too Many Requests

patch/api/v1/iam/resource-sets/{resourceSetIdOrLabel}/resources
Request samples
application/json
Response samples
application/json
{}

Delete a Resource Set Resource
OAuth 2.0: okta.roles.manage

Deletes a Resource (identified by resourceId) from a Resource Set

Request
path Parameters
resourceSetIdOrLabel
required
string

id or label the Resource Set

Example: iamoJDFKaJxGIr0oamd9g
resourceId
required
string

id of the Resource

Example: ire106sQKoHoXXsAe0g4
Responses
204

No Content

403

Forbidden

404

Not Found

429

Too Many Requests

delete/api/v1/iam/resource-sets/{resourceSetIdOrLabel}/resources/{resourceId}
Request samples
Response samples
application/json
{
  • "errorCode": "E0000006",
  • "errorSummary": "You do not have permission to perform the requested action",
  • "errorLink": "E0000006",
  • "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
  • "errorCauses": [ ]
}