/api/v1/groups/{groupId}/roles
Assigns a Role to a Group
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| disableNotifications | query | optional | boolean | — |
application/json
AssignRoleRequest
Success
Success
POST /api/v1/groups/{groupId}/roles
/api/v1/groups/{groupId}/roles/{roleId}
Unassigns a Role from a Group
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
No Content
DELETE /api/v1/groups/{groupId}/roles/{roleId}
/api/v1/groups/{groupId}/roles/{roleId}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
Success
GET /api/v1/groups/{groupId}/roles/{roleId}
/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps
Lists all App targets for an APP_ADMIN Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an ID value, while Application will not have an ID.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| after | query | optional | string | — |
| limit | query | optional | integer | — |
Success
GET /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps
/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| appName | path | required | string | — |
No Content
DELETE /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}
/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| appName | path | required | string | — |
Success
PUT /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}
/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}
Remove App Instance Target to App Administrator Role given to a Group
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| appName | path | required | string | — |
| applicationId | path | required | string | — |
No Content
DELETE /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}
/api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}
Add App Instance Target to App Administrator Role given to a Group
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| appName | path | required | string | — |
| applicationId | path | required | string | — |
No Content
PUT /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}
/api/v1/groups/{groupId}/roles/{roleId}/targets/groups
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| after | query | optional | string | — |
| limit | query | optional | integer | — |
Success
GET /api/v1/groups/{groupId}/roles/{roleId}/targets/groups
/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| targetGroupId | path | required | string | — |
No Content
DELETE /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}
/api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| roleId | path | required | string | — |
| targetGroupId | path | required | string | — |
No Content
PUT /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}
/api/v1/groups/{groupId}/users
Enumerates all users that are a member of a group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| after | query | optional | string | Specifies the pagination cursor for the next page of users |
| limit | query | optional | integer | Specifies the number of user results in a page |
Success
GET /api/v1/groups/{groupId}/users
/api/v1/groups/{groupId}/users/{userId}
Removes a user from a group with ‘OKTA_GROUP’ type.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| userId | path | required | string | — |
No Content
DELETE /api/v1/groups/{groupId}/users/{userId}
/api/v1/groups/{groupId}/users/{userId}
Adds a user to a group with ‘OKTA_GROUP’ type.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| userId | path | required | string | — |
No Content
PUT /api/v1/groups/{groupId}/users/{userId}
/api/v1/meta/schemas/group/default
Fetches the group schema
successful operation
GET /api/v1/meta/schemas/group/default
/api/v1/meta/schemas/group/default
Updates, adds ore removes one or more custom Group Profile properties in the schema
application/json
GroupSchema
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| title | string | optional |
| _links | object | optional |
| $schema | string | optional |
| created | string | optional |
| properties | object | optional |
| └ profile | object | optional |
| └ allOf | array | optional |
| definitions | object | optional |
| └ base | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| └ name | object | optional |
| └ description | object | optional |
| └ custom | object | optional |
| └ id | string | optional |
| └ type | string | optional |
| └ required | array | optional |
| └ properties | object | optional |
| description | string | optional |
| lastUpdated | string | optional |
successful operation
POST /api/v1/meta/schemas/group/default
/api/v1/idps
Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| q | query | optional | string | Searches the name property of IdPs for matching value |
| after | query | optional | string | Specifies the pagination cursor for the next page of IdPs |
| limit | query | optional | integer | Specifies the number of IdP results in a page |
| type | query | optional | string | Filters IdPs by type |
Success
GET /api/v1/idps
/api/v1/idps
Adds a new IdP to your organization.
application/json
IdentityProvider
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| policy | object | optional |
| └ subject | object | optional |
| └ filter | string | optional |
| └ format | array | optional |
| └ matchType | string | optional |
| └ matchAttribute | string | optional |
| └ userNameTemplate | object | optional |
| └ template | string | optional |
| └ accountLink | object | optional |
| └ action | string | optional |
| └ filter | object | optional |
| └ groups | object | optional |
| └ maxClockSkew | integer | optional |
| └ provisioning | object | optional |
| └ action | string | optional |
| └ groups | object | optional |
| └ action | string | optional |
| └ filter | array | optional |
| └ assignments | array | optional |
| └ sourceAttributeName | string | optional |
| └ conditions | object | optional |
| └ suspended | object | optional |
| └ deprovisioned | object | optional |
| └ profileMaster | boolean | optional |
| status | string | optional |
| created | string | optional |
| protocol | object | optional |
| └ type | string | optional |
| └ issuer | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ scopes | array | optional |
| └ settings | object | optional |
| └ nameFormat | string | optional |
| └ endpoints | object | optional |
| └ acs | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ slo | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ sso | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ jwks | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ token | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ metadata | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ userInfo | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ authorization | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ algorithms | object | optional |
| └ request | object | optional |
| └ signature | object | optional |
| └ response | object | optional |
| └ signature | object | optional |
| └ relayState | object | optional |
| └ format | string | optional |
| └ credentials | object | optional |
| └ trust | object | optional |
| └ kid | string | optional |
| └ issuer | string | optional |
| └ audience | string | optional |
| └ revocation | string | optional |
| └ revocationCacheLifetime | integer | optional |
| └ client | object | optional |
| └ client_id | string | optional |
| └ client_secret | string | optional |
| └ signing | object | optional |
| └ kid | string | optional |
| └ teamId | string | optional |
| └ privateKey | string | optional |
| issuerMode | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/idps
/api/v1/idps/credentials/keys
Enumerates IdP key credentials.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| after | query | optional | string | Specifies the pagination cursor for the next page of keys |
| limit | query | optional | integer | Specifies the number of key results in a page |
Success
GET /api/v1/idps/credentials/keys
/api/v1/idps/credentials/keys
Adds a new X.509 certificate credential to the IdP key store.
application/json
JsonWebKey
| Property | Type | Required |
|---|---|---|
| e | string | optional |
| n | string | optional |
| alg | string | optional |
| kid | string | optional |
| kty | string | optional |
| use | string | optional |
| x5c | array | optional |
| x5t | string | optional |
| x5u | string | optional |
| _links | object | optional |
| status | string | optional |
| created | string | optional |
| key_ops | array | optional |
| x5t#S256 | string | optional |
| expiresAt | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/idps/credentials/keys
/api/v1/idps/credentials/keys/{keyId}
Deletes a specific IdP Key Credential by kid if it is not currently being used by an Active or Inactive IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| keyId | path | required | string | — |
No Content
DELETE /api/v1/idps/credentials/keys/{keyId}
/api/v1/idps/credentials/keys/{keyId}
Gets a specific IdP Key Credential by kid
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| keyId | path | required | string | — |
Success
GET /api/v1/idps/credentials/keys/{keyId}
/api/v1/idps/{idpId}
Removes an IdP from your organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
No Content
DELETE /api/v1/idps/{idpId}
/api/v1/idps/{idpId}
Fetches an IdP by id.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}
/api/v1/idps/{idpId}
Updates the configuration for an IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
application/json
IdentityProvider
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| policy | object | optional |
| └ subject | object | optional |
| └ filter | string | optional |
| └ format | array | optional |
| └ matchType | string | optional |
| └ matchAttribute | string | optional |
| └ userNameTemplate | object | optional |
| └ template | string | optional |
| └ accountLink | object | optional |
| └ action | string | optional |
| └ filter | object | optional |
| └ groups | object | optional |
| └ maxClockSkew | integer | optional |
| └ provisioning | object | optional |
| └ action | string | optional |
| └ groups | object | optional |
| └ action | string | optional |
| └ filter | array | optional |
| └ assignments | array | optional |
| └ sourceAttributeName | string | optional |
| └ conditions | object | optional |
| └ suspended | object | optional |
| └ deprovisioned | object | optional |
| └ profileMaster | boolean | optional |
| status | string | optional |
| created | string | optional |
| protocol | object | optional |
| └ type | string | optional |
| └ issuer | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ scopes | array | optional |
| └ settings | object | optional |
| └ nameFormat | string | optional |
| └ endpoints | object | optional |
| └ acs | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ slo | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ sso | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ jwks | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ token | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ metadata | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ userInfo | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ authorization | object | optional |
| └ url | string | optional |
| └ type | string | optional |
| └ binding | string | optional |
| └ destination | string | optional |
| └ algorithms | object | optional |
| └ request | object | optional |
| └ signature | object | optional |
| └ response | object | optional |
| └ signature | object | optional |
| └ relayState | object | optional |
| └ format | string | optional |
| └ credentials | object | optional |
| └ trust | object | optional |
| └ kid | string | optional |
| └ issuer | string | optional |
| └ audience | string | optional |
| └ revocation | string | optional |
| └ revocationCacheLifetime | integer | optional |
| └ client | object | optional |
| └ client_id | string | optional |
| └ client_secret | string | optional |
| └ signing | object | optional |
| └ kid | string | optional |
| └ teamId | string | optional |
| └ privateKey | string | optional |
| issuerMode | string | optional |
| lastUpdated | string | optional |
Success
PUT /api/v1/idps/{idpId}
/api/v1/idps/{idpId}/credentials/csrs
Enumerates Certificate Signing Requests for an IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/credentials/csrs
/api/v1/idps/{idpId}/credentials/csrs
Generates a new key pair and returns a Certificate Signing Request for it.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
application/json
CsrMetadata
Created
POST /api/v1/idps/{idpId}/credentials/csrs
/api/v1/idps/{idpId}/credentials/csrs/{csrId}
Revoke a Certificate Signing Request and delete the key pair from the IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| csrId | path | required | string | — |
No Content
DELETE /api/v1/idps/{idpId}/credentials/csrs/{csrId}
/api/v1/idps/{idpId}/credentials/csrs/{csrId}
Gets a specific Certificate Signing Request model by id
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| csrId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/credentials/csrs/{csrId}
/api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| csrId | path | required | string | — |
Created
POST /api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish
/api/v1/idps/{idpId}/credentials/keys
Enumerates signing key credentials for an IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/credentials/keys
/api/v1/idps/{idpId}/credentials/keys/generate
Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| validityYears | query | required | integer | expiry of the IdP Key Credential |
Success
POST /api/v1/idps/{idpId}/credentials/keys/generate
/api/v1/idps/{idpId}/credentials/keys/{keyId}
Gets a specific IdP Key Credential by kid
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| keyId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/credentials/keys/{keyId}
/api/v1/idps/{idpId}/credentials/keys/{keyId}/clone
Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| keyId | path | required | string | — |
| targetIdpId | query | required | string | — |
Created
POST /api/v1/idps/{idpId}/credentials/keys/{keyId}/clone
/api/v1/idps/{idpId}/lifecycle/activate
Activates an inactive IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
POST /api/v1/idps/{idpId}/lifecycle/activate
/api/v1/idps/{idpId}/lifecycle/deactivate
Deactivates an active IdP.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
POST /api/v1/idps/{idpId}/lifecycle/deactivate
/api/v1/idps/{idpId}/users
Find all the users linked to an identity provider
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/users
/api/v1/idps/{idpId}/users/{userId}
Removes the link between the Okta user and the IdP user.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| userId | path | required | string | — |
No Content
DELETE /api/v1/idps/{idpId}/users/{userId}
/api/v1/idps/{idpId}/users/{userId}
Fetches a linked IdP user by ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| userId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/users/{userId}
/api/v1/idps/{idpId}/users/{userId}
Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| userId | path | required | string | — |
application/json
UserIdentityProviderLinkRequest
| Property | Type | Required |
|---|---|---|
| externalId | string | optional |
Success
POST /api/v1/idps/{idpId}/users/{userId}
/api/v1/idps/{idpId}/users/{userId}/credentials/tokens
Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| idpId | path | required | string | — |
| userId | path | required | string | — |
Success
GET /api/v1/idps/{idpId}/users/{userId}/credentials/tokens
/api/v1/inlineHooks
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| type | query | optional | string | — |
Success
GET /api/v1/inlineHooks
/api/v1/inlineHooks
Success
application/json
InlineHook
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| status | string | optional |
| channel | object | optional |
| └ type | string | optional |
| └ config | object | optional |
| └ uri | string | optional |
| └ method | string | optional |
| └ headers | array | optional |
| └ key | string | optional |
| └ value | string | optional |
| └ authScheme | object | optional |
| └ key | string | optional |
| └ type | string | optional |
| └ value | string | optional |
| └ version | string | optional |
| created | string | optional |
| version | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/inlineHooks
/api/v1/inlineHooks/{inlineHookId}
Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
No Content
DELETE /api/v1/inlineHooks/{inlineHookId}
/api/v1/inlineHooks/{inlineHookId}
Gets an inline hook by ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
Success
GET /api/v1/inlineHooks/{inlineHookId}
/api/v1/inlineHooks/{inlineHookId}
Updates an inline hook by ID
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
application/json
InlineHook
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| _links | object | optional |
| status | string | optional |
| channel | object | optional |
| └ type | string | optional |
| └ config | object | optional |
| └ uri | string | optional |
| └ method | string | optional |
| └ headers | array | optional |
| └ key | string | optional |
| └ value | string | optional |
| └ authScheme | object | optional |
| └ key | string | optional |
| └ type | string | optional |
| └ value | string | optional |
| └ version | string | optional |
| created | string | optional |
| version | string | optional |
| lastUpdated | string | optional |
Success
PUT /api/v1/inlineHooks/{inlineHookId}
/api/v1/inlineHooks/{inlineHookId}/execute
Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
application/json
InlineHookPayload
Success
POST /api/v1/inlineHooks/{inlineHookId}/execute
/api/v1/inlineHooks/{inlineHookId}/lifecycle/activate
Activates the Inline Hook matching the provided id
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
Success
POST /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate
/api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate
Deactivates the Inline Hook matching the provided id
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| inlineHookId | path | required | string | — |
Success
POST /api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate
/api/v1/meta/schemas/user/linkedObjects
Success
Success
GET /api/v1/meta/schemas/user/linkedObjects