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.
okta.roles.read
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": {
}
}
okta.roles.manage
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": {
}
}
okta.roles.manage
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": {
}
}
}
okta.roles.read
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": {
}
}
okta.roles.manage
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": {
}
}
okta.roles.manage
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": [ ]
}