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.
Lists all resources for the resource set
OK
Forbidden
Not Found
Too Many Requests
{- "resources": [
- {
- "id": "ire106sQKoHoXXsAe0g4",
 - "orn": "orn:{partition}:directory:{yourOrgId}:groups:00guaxWZ0AOa5NFAj0g3",
 - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
}, - {
- "id": "ire106riDrTYl4qA70g4",
 - "orn": "orn:{partition}:directory:{yourOrgId}:groups:00gu67DU2qNCjNZYO0g3:contained_resources",
 - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
}, - {
- "id": "irezvo4AwE2ngpMw40g3",
 - "orn": "orn:{partition}:directory:{yourOrgId}:users",
 - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
}, - {
- "id": "ire2j4iDnxHhUFaZN0g4",
 - "orn": "orn:{partition}:directory:{yourOrgId}:groups",
 - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
} 
], - "_links": {
} 
}Adds a resource with conditions for a resource set
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "conditions": {
- "Exclude": {
- "okta:ORN": [
- "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4",
 - "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack"
 
] 
} 
} 
}{- "id": "ire106sQKoHoXXsAe0g4",
 - "orn": "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps",
 - "conditions": {
- "Exclude": {
- "okta:ORN": [
- "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4",
 - "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack"
 
] 
} 
}, - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
}Adds more resources to a resource set
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "id": "iamoJDFKaJxGIr0oamd9g",
 - "label": "SF-IT-People",
 - "description": "People in the IT department of San Francisco",
 - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
- "resources": {
}, - "bindings": {
} 
} 
}Retrieves a resource identified by resourceId in a resource set
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "id": "ire106sQKoHoXXsAe0g4",
 - "orn": "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps",
 - "conditions": {
- "Exclude": {
- "okta:ORN": [
- "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4",
 - "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack"
 
] 
} 
}, - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
}Replaces the conditions of a resource identified by resourceId in a resource set
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "conditions": {
- "Exclude": {
- "okta:ORN": [
- "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4",
 - "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack"
 
] 
} 
} 
}{- "id": "ire106sQKoHoXXsAe0g4",
 - "orn": "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps",
 - "conditions": {
- "Exclude": {
- "okta:ORN": [
- "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:0oa1014FmyZ2H0oRY0g4",
 - "orn:okta:idp:00o5rb5mt2H3d1TJd0h7:apps:slack"
 
] 
} 
}, - "created": "2021-02-06T16:20:57.000Z",
 - "lastUpdated": "2021-02-06T16:20:57.000Z",
 - "_links": {
} 
}Deletes a resource (identified by resourceId) from a resource set
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": [ ]
 
}