The Resource Owners API allows you to manage assigning owners to resources in your Okta Identity Governance (OIG) org. You can drive automation and simplify OIG configuration by assigning owners to resources, such as apps, groups, and entitlements. For example, resource owners are automatically assign as reviewers for access certifications or requests that are scoped with specific owner-assigned resources.
Configures the owners for resources
Resource owners success response
A request failed validation
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
{- "principalOrns": [
- "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g",
- "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u6yl0Q065H4BCPR0g4"
], - "resourceOrns": [
- "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6"
]
}
{- "data": [
- {
- "parentResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
- "resource": {
- "id": "enbogpaj3XUzcM62u1d6",
- "type": "entitlement-bundles",
- "orn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6",
- "profile": {
- "id": "enbogpaj3XUzcM62u1d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access"
}
}, - "principals": [
- {
- "id": "pri10sfroCwbHQO4a0g4",
- "type": "users",
- "orn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g4",
- "profile": {
- "id": "00u10sfroCwbHQO4a0g4",
- "name": "Some Name",
- "email": "some.name@okta.com",
}
}, - {
- "id": "pri6yl0Q065H4BCPR0g4",
- "type": "users",
- "orn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u6yl0Q065H4BCPR0g4",
- "profile": {
- "id": "00u6yl0Q065H4BCPR0g4",
- "email": "someother.name@okta.com",
- "name": "Some Other Name",
}
}
]
}
]
}
Lists all resources with assigned owners for an app (the parent resource).
For this request, you must specifiy the filter
query parameter with a parentResourceOrn
filter expression.
This method returns all the resources, such as entitlements or entitlement bundles, that have owners assigned.
after | string The pagination cursor that points to the last record of the previous request. Example: after=00u68w6vzKLultXS97g6 | ||||
filter required | string <scim-filter> A filter expression that returns entries based on the following properties and supported operators:
filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.orn eq "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-bundles" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-bundles" AND resource.profile.name sw "License" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-bundles" AND resource.profile.name co "License" | ||||
include | Array of strings Adds additional properties in the response
Query param: ?include=parent_resource_owner include=parent_resource_owner | ||||
limit | integer [ 1 .. 200 ] Default: 20 The maximum number of records returned in a response |
Resource owners list success response
A request failed validation
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
{- "data": [
- {
- "parentResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
- "resource": {
- "id": "enbogpaj3XUzcM62u1d6",
- "type": "entitlement-bundles",
- "orn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6",
- "profile": {
- "id": "enbogpaj3XUzcM62u1d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access"
}
}, - "principals": [
- {
- "id": "pri10sfroCwbHQO4a0g4",
- "type": "users",
- "orn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g4",
- "profile": {
- "id": "00u10sfroCwbHQO4a0g4",
- "name": "Some Name",
- "email": "some.name@okta.com",
}
}, - {
- "id": "pri6yl0Q065H4BCPR0g4",
- "type": "users",
- "orn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u6yl0Q065H4BCPR0g4",
- "profile": {
- "id": "00u6yl0Q065H4BCPR0g4",
- "email": "someother.name@okta.com",
- "name": "Some Other Name",
}
}
]
}, - {
- "parentResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
- "resource": {
- "id": "entn4WFkzQJhB6QIa0g1",
- "type": "entitlement-values",
- "orn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-values:entn4WFkzQJhB6QIa0g1",
- "profile": {
- "id": "entn4WFkzQJhB6QIa0g1",
- "name": "License Entitlement value 1",
- "description": "Some license entitlement value",
- "parent": {
- "id": "esp2lr1lavoGDYw5U8g6",
- "name": "License Entitlement"
}
}
}, - "principals": [
- {
- "id": "pri10ctakVI6XlTdk0g4",
- "type": "groups",
- "orn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00g10ctakVI6XlTdk0g4",
- "profile": {
- "id": "00g10ctakVI6XlTdk0g4",
- "name": "Okta Admins Group",
- "metaData": {
- "userAssignmentCount": 2
},
}
}
]
}, - {
- "parentResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
- "resource": {
- "id": "enb1spaj3XUzcM62u1d6",
- "type": "entitlement-bundles",
- "orn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enb1spaj3XUzcM62u1d6",
- "profile": {
- "id": "enb1spaj3XUzcM62u1d6",
- "name": "Github sub bundle",
- "description": "Github sub for administrative access"
}
}, - "principals": [
- {
- "id": "pri10ctakVI6XlTdk0g4",
- "type": "groups",
- "orn": "orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00g10ctakVI6XlTdk0g4",
- "profile": {
- "id": "00g10ctakVI6XlTdk0g4",
- "name": "Okta Admins Group",
- "metaData": {
- "userAssignmentCount": 5
},
}
}
]
}
], - "_links": {
- "self": {
- "href": "https://myorg.okta.com/governance/api/v1/resource-owners?limit=20&filter=parentResourceOrn eq \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\""
}
}, - "metadata": {
- "total": 10
}
}
Updates a resource owner.
required | Array of objects [ 1 .. 5 ] items |
resourceOrn required | string <okta-resource-orn> The ID of the resource in ORN format. The resource can be an app, an entitlement value, or an entitlement bundle. See supported resources. |
Resource owners success patch response
A request failed validation
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
{- "resourceOrn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6",
- "data": [
- {
- "op": "REMOVE",
- "path": "/principalOrn",
- "value": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u20sfroCwbHQO4a0g"
}, - {
- "op": "REMOVE",
- "path": "/principalOrn",
- "value": "orn:okta:directory:00o11edPwGqbUrsDm0g4:users:00u10sfroCwbHQO4a0g"
}
]
}
{- "errorCode": "string",
- "errorId": "string",
- "errorSummary": "string",
- "errorLink": "string",
- "errorCauses": [
- {
- "errorSummary": "string",
- "reason": "string",
- "location": "string",
- "locationType": "string",
- "domain": "string"
}
]
}
Lists all resources without assigned owners for an app (the parent resource).
For this request, you must specifiy the filter
query parameter with a parentResourceOrn
filter expression.
This method returns all the resources for an app, such as entitlements or entitlement bundles, that don't have owners assigned.
after | string The pagination cursor that points to the last record of the previous request. Example: after=00u68w6vzKLultXS97g6 |
filter required | string <scim-filter> A filter expression that returns entries based on the following properties and supported operators:
filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-bundles" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-bundles" AND resource.profile.name sw "License" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-bundles" AND resource.profile.name co "License" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-values AND resource.profile.parent.id eq "esp2lr1lavoGDYw5U8g6" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-values" AND resource.profile.parent.id eq "esp2lr1lavoGDYw5U8g6" AND resource.profile.name sw "License" filter=parentResourceOrn eq "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ" AND resource.type eq "entitlement-values" AND resource.profile.parent.id eq "esp2lr1lavoGDYw5U8g6" AND resource.profile.name co "License" |
limit | integer [ 1 .. 200 ] Default: 20 The maximum number of records returned in a response |
Resource owners catalog resources success response
A request failed validation
When authentication fails
When authorization fails
When the rate limit has been exceeded
When there is a server fault due to an unexpected error
{- "parentResourceOrn": "orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ",
- "data": [
- {
- "id": "enbogpaj3XUzcM62u1d6",
- "type": "entitlement-bundles",
- "orn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6",
- "profile": {
- "id": "enbogpaj3XUzcM62u1d6",
- "name": "Github admin bundle",
- "description": "Github bundle for administrative access"
}
}, - {
- "id": "enb1spaj3XUzcM62u1d6",
- "type": "entitlement-bundles",
- "orn": "orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enb1spaj3XUzcM62u1d6",
- "profile": {
- "id": "enb1spaj3XUzcM62u1d6",
- "name": "Github sub bundle",
- "description": "Github sub for administrative access"
}
}
], - "_links": {
- "self": {
- "href": "https://myorg.okta.com/governance/api/v1/resource-owners/catalog/resources?limit=20&filter=parentResourceOrn eq \"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:salesforce:0oafxqCAJWWGELFTYASJ\" AND resource.type eq \"entitlement-bundles\""
}
}
}