These endpoints allow you to manage Brands, and their metadata, in your orgs. With Brands, you can customize the following:
Note: Some of the curl code examples on this page include SSWS API token authentication. However, Okta recommends using scoped OAuth 2.0 and OIDC access tokens to authenticate with Okta management APIs. OAuth 2.0 and OIDC access tokens provide fine-grain control over the bearer's actions on specific endpoints. See Okta API authentication methods.
okta.brands.read
Lists all the brands in your org
expand | Array of strings Specifies additional metadata to be included in the response |
after | string The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the |
limit | integer [ 1 .. 200 ] Default: 20 A limit on the number of objects to return |
q | string Searches the records for matching value |
Successfully returned the list of brands
Forbidden
Too Many Requests
[- {
- "id": "bnd114iNkrcN6aR680g4",
- "name": "Okta Default",
- "isDefault": true,
- "agreeToCustomPrivacyPolicy": false,
- "removePoweredByOkta": false,
- "customPrivacyPolicyUrl": null,
- "locale": "en",
- "emailDomainId": "OeD114iNkrcN6aR680g4",
- "defaultApp": {
- "appInstanceId": "0oa114iNkrcN6aR680g4",
- "appLinkName": null,
- "classicApplicationUri": null
}, - "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "themes": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "emailDomain": {
- "hints": {
- "allow": [
- "GET",
- "PUT"
]
}
}
}
}
]
okta.brands.manage
Creates a new brand in your org
Successfully created the brand
Bad Request
Forbidden
Could not create the new brand because same name already exist.
Too Many Requests
{- "name": "My Awesome Brand"
}
{- "id": "bnd114iNkrcN6aR680g5",
- "removePoweredByOkta": false,
- "customPrivacyPolicyUrl": "null,",
- "agreeToCustomPrivacyPolicy": "false,",
- "name": "My Awesome Brand",
- "locale": "en",
- "defaultApp": {
- "appInstanceId": null,
- "appLinkName": null,
- "classicApplicationUri": null
}, - "isDefault": false,
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "themes": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
okta.brands.read
Retrieves a brand by brandId
Successfully retrieved the brand
Forbidden
Not Found
Too Many Requests
{- "id": "bnd114iNkrcN6aR680g4",
- "agreeToCustomPrivacyPolicy": false,
- "removePoweredByOkta": false,
- "customPrivacyPolicyUrl": null,
- "name": "Okta Default",
- "isDefault": true,
- "locale": "en",
- "emailDomainId": "OeD114iNkrcN6aR680g4",
- "defaultApp": {
- "appInstanceId": "0oa114iNkrcN6aR680g4",
- "appLinkName": null,
- "classicApplicationUri": null
}, - "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "themes": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "emailDomain": {
- "hints": {
- "allow": [
- "GET",
- "PUT"
]
}
}
}
}
okta.brands.manage
Replaces a brand by brandId
Passing an invalid brandId
returns a 404 Not Found
status code with the error code E0000007
.
Not providing agreeToCustomPrivacyPolicy
with customPrivacyPolicyUrl
returns a 400 Bad Request
status code with the error code E0000001
.
name required | string The name of the Brand |
agreeToCustomPrivacyPolicy | boolean Consent for updating the custom privacy URL. Not required when resetting the URL. |
customPrivacyPolicyUrl | string Custom privacy policy URL |
object (DefaultApp) | |
emailDomainId | string The ID of the email domain |
locale | string (Language) The language specified as an IETF BCP 47 language tag |
removePoweredByOkta | boolean Default: false Removes "Powered by Okta" from the sign-in page in redirect authentication deployments, and "© [current year] Okta, Inc." from the Okta End-User Dashboard |
Successfully replaced the brand
Bad Request
Forbidden
Not Found
Too Many Requests
{- "agreeToCustomPrivacyPolicy": true,
- "removePoweredByOkta": true,
- "name": "New Name For Brand",
- "emailDomainId": "OeD114iNkrcN6aR680g4",
- "locale": "en",
- "defaultApp": {
- "appInstanceId": "0oa114iNkrcN6aR680g4",
- "appLinkName": null,
- "classicApplicationUri": null
}
}
{- "id": "bnd114iNkrcN6aR680g4",
- "removePoweredByOkta": true,
- "agreeToCustomPrivacyPolicy": true,
- "name": "New Name For Brand",
- "isDefault": true,
- "emailDomainId": "OeD114iNkrcN6aR680g4",
- "defaultApp": {
- "appInstanceId": "0oa114iNkrcN6aR680g4",
- "appLinkName": null,
- "classicApplicationUri": null
}, - "locale": "en",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "PUT",
- "DELETE"
]
}
}, - "themes": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "emailDomain": {
- "hints": {
- "allow": [
- "GET",
- "PUT"
]
}
}
}
}
okta.brands.manage
Deletes a brand by brandId
Successfully deleted the brand.
Forbidden
Not Found
Conflict
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.brands.read
Lists all domains associated with a brand by brandId
Successfully returned the list of domains for the brand
Forbidden
Not Found
Too Many Requests
[- {
- "brandId": "bndul904tTZ6kWVhP0g3",
- "certificateSourceType": "MANUAL",
- "dnsRecords": [
- {
- "expiration": "string",
- "fqdn": "_oktaverification.login.example.com",
- "recordType": "TXT",
- "values": [
- "79496f234c814638b1cc44f51a782781"
]
}
], - "domain": "login.example.com",
- "id": "OcDz6iRyjkaCTXkdo0g3",
- "publicCertificate": {
- "expiration": "2021-05-11T05:13:05.000Z",
- "fingerprint": "73:68:82:7B:83:2E:48:29:A5:5E:E8:40:41:80:B3:AA:03:C4:42:43:05:73:45:BC:AA:47:00:23:A3:70:E5:C4",
- "subject": "CN=login.example.com"
}, - "validationStatus": "VERIFIED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "brand": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "certificate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "verify": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}
}
}
]