/api/v1/brands/{brandId}/templates/email/{templateName}/customizations
Create an email customization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
application/json
EmailTemplateCustomizationRequest
Success
Conflict
POST /api/v1/brands/{brandId}/templates/email/{templateName}/customizations
/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
Delete an email customization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
| customizationId | path | required | string | — |
No Content
Conflict
DELETE /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
Fetch an email customization by id.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
| customizationId | path | required | string | — |
Success
GET /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
Update an email customization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
| customizationId | path | required | string | — |
application/json
EmailTemplateCustomizationRequest
Success
Conflict
PUT /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}
/api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview
Get a preview of an email template customization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
| customizationId | path | required | string | — |
Success
GET /api/v1/brands/{brandId}/templates/email/{templateName}/customizations/{customizationId}/preview
/api/v1/brands/{brandId}/templates/email/{templateName}/default-content
Fetch the default content for an email template.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
Success
GET /api/v1/brands/{brandId}/templates/email/{templateName}/default-content
/api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview
Fetch a preview of an email template’s default content by populating velocity references with the current user’s environment.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
Success
GET /api/v1/brands/{brandId}/templates/email/{templateName}/default-content/preview
/api/v1/brands/{brandId}/templates/email/{templateName}/test
Send a test email to the current users primary and secondary email addresses. The email content is selected based on the following priority: An email customization specifically for the users locale. The default language of email customizations. The email templates default content.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| templateName | path | required | string | — |
application/json
EmailTemplateTestRequest
No Content
POST /api/v1/brands/{brandId}/templates/email/{templateName}/test
/api/v1/brands/{brandId}/themes
List all the themes in your brand
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
Success
GET /api/v1/brands/{brandId}/themes
/api/v1/brands/{brandId}/themes/{themeId}
Fetches a theme for a brand
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
Success
GET /api/v1/brands/{brandId}/themes/{themeId}
/api/v1/brands/{brandId}/themes/{themeId}
Updates a theme for a brand
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
application/json
Theme
Success
Bad Request
Not Found
PUT /api/v1/brands/{brandId}/themes/{themeId}
/api/v1/brands/{brandId}/themes/{themeId}/background-image
Deletes a Theme background image
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
No Content
Not Found
DELETE /api/v1/brands/{brandId}/themes/{themeId}/background-image
/api/v1/brands/{brandId}/themes/{themeId}/background-image
Updates the background image for your Theme
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Created
Bad Request
Not Found
POST /api/v1/brands/{brandId}/themes/{themeId}/background-image
/api/v1/brands/{brandId}/themes/{themeId}/favicon
Deletes a Theme favicon. The org then uses the Okta default favicon.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
No Content
Not Found
DELETE /api/v1/brands/{brandId}/themes/{themeId}/favicon
/api/v1/brands/{brandId}/themes/{themeId}/favicon
Updates the favicon for your theme
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Created
Bad Request
Not Found
POST /api/v1/brands/{brandId}/themes/{themeId}/favicon
/api/v1/brands/{brandId}/themes/{themeId}/logo
Deletes a Theme logo. The org then uses the Okta default logo.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
No Content
Not Found
DELETE /api/v1/brands/{brandId}/themes/{themeId}/logo
/api/v1/brands/{brandId}/themes/{themeId}/logo
Updates the logo for your Theme
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| brandId | path | required | string | — |
| themeId | path | required | string | — |
multipart/form-data
ApplicationUpdateLogoRequest
| Property | Type | Required |
|---|---|---|
| file | string | required |
Success
Bad Request
Not Found
POST /api/v1/brands/{brandId}/themes/{themeId}/logo
/api/v1/domains
List all verified custom Domains for the org.
Success
GET /api/v1/domains
/api/v1/domains
Creates your domain.
application/json
Domain
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| domain | string | optional |
| dnsRecords | array | optional |
| └ fqdn | string | optional |
| └ values | array | optional |
| └ expiration | string | optional |
| └ recordType | string | optional |
| validationStatus | string | optional |
| publicCertificate | object | optional |
| └ subject | string | optional |
| └ expiration | string | optional |
| └ fingerprint | string | optional |
| certificateSourceType | string | optional |
Success
POST /api/v1/domains
/api/v1/domains/{domainId}
Deletes a Domain by id.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| domainId | path | required | string | — |
No Content
DELETE /api/v1/domains/{domainId}
/api/v1/domains/{domainId}
Fetches a Domain by id.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| domainId | path | required | string | — |
Success
GET /api/v1/domains/{domainId}
/api/v1/domains/{domainId}/certificate
Creates the Certificate for the Domain.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| domainId | path | required | string | — |
application/json
DomainCertificate
No Content
PUT /api/v1/domains/{domainId}/certificate
/api/v1/domains/{domainId}/verify
Verifies the Domain by id.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| domainId | path | required | string | — |
Success
POST /api/v1/domains/{domainId}/verify
/api/v1/eventHooks
Success
Success
GET /api/v1/eventHooks
/api/v1/eventHooks
Success
application/json
EventHook
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| events | object | optional |
| └ type | string | optional |
| └ items | array | optional |
| status | string | optional |
| channel | object | optional |
| └ type | string | optional |
| └ config | object | optional |
| └ uri | 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 |
| createdBy | string | optional |
| lastUpdated | string | optional |
| verificationStatus | string | optional |
Success
POST /api/v1/eventHooks
/api/v1/eventHooks/{eventHookId}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
No Content
DELETE /api/v1/eventHooks/{eventHookId}
/api/v1/eventHooks/{eventHookId}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
GET /api/v1/eventHooks/{eventHookId}
/api/v1/eventHooks/{eventHookId}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
application/json
EventHook
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| _links | object | optional |
| events | object | optional |
| └ type | string | optional |
| └ items | array | optional |
| status | string | optional |
| channel | object | optional |
| └ type | string | optional |
| └ config | object | optional |
| └ uri | 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 |
| createdBy | string | optional |
| lastUpdated | string | optional |
| verificationStatus | string | optional |
Success
PUT /api/v1/eventHooks/{eventHookId}
/api/v1/eventHooks/{eventHookId}/lifecycle/activate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
POST /api/v1/eventHooks/{eventHookId}/lifecycle/activate
/api/v1/eventHooks/{eventHookId}/lifecycle/deactivate
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
POST /api/v1/eventHooks/{eventHookId}/lifecycle/deactivate
/api/v1/eventHooks/{eventHookId}/lifecycle/verify
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| eventHookId | path | required | string | — |
Success
POST /api/v1/eventHooks/{eventHookId}/lifecycle/verify
/api/v1/features
Success
Success
GET /api/v1/features
/api/v1/features/{featureId}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| featureId | path | required | string | — |
Success
GET /api/v1/features/{featureId}
/api/v1/features/{featureId}/dependencies
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| featureId | path | required | string | — |
Success
GET /api/v1/features/{featureId}/dependencies
/api/v1/features/{featureId}/dependents
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| featureId | path | required | string | — |
Success
GET /api/v1/features/{featureId}/dependents
/api/v1/features/{featureId}/{lifecycle}
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| featureId | path | required | string | — |
| lifecycle | path | required | string | — |
| mode | query | optional | string | — |
Success
POST /api/v1/features/{featureId}/{lifecycle}
/api/v1/groups
Enumerates groups in your organization with pagination. A subset of groups 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 groups for matching value |
| filter | query | optional | string | Filter expression for groups |
| after | query | optional | string | Specifies the pagination cursor for the next page of groups |
| limit | query | optional | integer | Specifies the number of group results in a page |
| expand | query | optional | string | If specified, it causes additional metadata to be included in the response. |
| search | query | optional | string | Searches for groups with a supported filtering expression for all attributes except for _embedded, _links, and objectClass |
Success
GET /api/v1/groups
/api/v1/groups
Adds a new group with OKTA_GROUP type to your organization.
application/json
Group
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| type | string | optional |
| _links | object | optional |
| created | string | optional |
| profile | object | optional |
| └ name | string | optional |
| └ description | string | optional |
| _embedded | object | optional |
| lastUpdated | string | optional |
| objectClass | array | optional |
| lastMembershipUpdated | string | optional |
Success
POST /api/v1/groups
/api/v1/groups/rules
Lists all group rules for your organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Specifies the number of rule results in a page |
| after | query | optional | string | Specifies the pagination cursor for the next page of rules |
| search | query | optional | string | Specifies the keyword to search fules for |
| expand | query | optional | string | If specified as |
Success
GET /api/v1/groups/rules
/api/v1/groups/rules
Creates a group rule to dynamically add users to the specified group if they match the condition
application/json
GroupRule
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| status | string | optional |
| actions | object | optional |
| └ assignUserToGroups | object | optional |
| └ groupIds | array | optional |
| created | string | optional |
| conditions | object | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ expression | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| lastUpdated | string | optional |
Success
POST /api/v1/groups/rules
/api/v1/groups/rules/{ruleId}
Removes a specific group rule by id from your organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
| removeUsers | query | optional | boolean | Indicates whether to keep or remove users from groups assigned by this rule. |
Accepted
DELETE /api/v1/groups/rules/{ruleId}
/api/v1/groups/rules/{ruleId}
Fetches a specific group rule by id from your organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
| expand | query | optional | string | — |
Success
GET /api/v1/groups/rules/{ruleId}
/api/v1/groups/rules/{ruleId}
Updates a group rule. Only INACTIVE rules can be updated.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
application/json
GroupRule
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| type | string | optional |
| status | string | optional |
| actions | object | optional |
| └ assignUserToGroups | object | optional |
| └ groupIds | array | optional |
| created | string | optional |
| conditions | object | optional |
| └ people | object | optional |
| └ users | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ groups | object | optional |
| └ exclude | array | optional |
| └ include | array | optional |
| └ expression | object | optional |
| └ type | string | optional |
| └ value | string | optional |
| lastUpdated | string | optional |
Success
PUT /api/v1/groups/rules/{ruleId}
/api/v1/groups/rules/{ruleId}/lifecycle/activate
Activates a specific group rule by id from your organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
No Content
POST /api/v1/groups/rules/{ruleId}/lifecycle/activate
/api/v1/groups/rules/{ruleId}/lifecycle/deactivate
Deactivates a specific group rule by id from your organization
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| ruleId | path | required | string | — |
No Content
POST /api/v1/groups/rules/{ruleId}/lifecycle/deactivate
/api/v1/groups/{groupId}
Removes a group with OKTA_GROUP type from your organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
No Content
DELETE /api/v1/groups/{groupId}
/api/v1/groups/{groupId}
Fetches a group from your organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
Success
GET /api/v1/groups/{groupId}
/api/v1/groups/{groupId}
Updates the profile for a group with OKTA_GROUP type from your organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
application/json
Group
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| type | string | optional |
| _links | object | optional |
| created | string | optional |
| profile | object | optional |
| └ name | string | optional |
| └ description | string | optional |
| _embedded | object | optional |
| lastUpdated | string | optional |
| objectClass | array | optional |
| lastMembershipUpdated | string | optional |
Success
PUT /api/v1/groups/{groupId}
/api/v1/groups/{groupId}/apps
Enumerates all applications that are assigned to a group.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| after | query | optional | string | Specifies the pagination cursor for the next page of apps |
| limit | query | optional | integer | Specifies the number of app results for a page |
Success
GET /api/v1/groups/{groupId}/apps
/api/v1/groups/{groupId}/roles
Success
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| groupId | path | required | string | — |
| expand | query | optional | string | — |
Success
GET /api/v1/groups/{groupId}/roles