Okta Admin Management API
/Customizations
//
Replace a brand
OAuth 2.0 scope:
- 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.
Consent for updating the custom privacy URL. Not required when resetting the URL.
The language specified as an IETF BCP 47 language tag
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/brands/{brandId}
curl -i -X PUT \
'https://subdomain.okta.com/api/v1/brands/{brandId}' \
-H 'Content-Type: application/json' \
-d '{
"customPrivacyPolicyUrl": "https://www.someHost.com/privacy-policy",
"agreeToCustomPrivacyPolicy": true,
"removePoweredByOkta": true,
"name": "New Name For Brand",
"emailDomainId": "OeD114iNkrcN6aR680g4",
"locale": "en",
"defaultApp": {
"appInstanceId": "0oa114iNkrcN6aR680g4",
"appLinkName": null,
"classicApplicationUri": null
}
}'Successfully replaced the brand
Consent for updating the custom privacy URL. Not required when resetting the URL.
true, the brand is a classic brand that was created during the OIE upgrade process. These brands are system-managed and can't be created or deleted through the API.
The language specified as an IETF BCP 47 language tag
Response
{ "id": "bnd114iNkrcN6aR680g4", "removePoweredByOkta": true, "agreeToCustomPrivacyPolicy": true, "name": "New Name For Brand", "isDefault": true, "customPrivacyPolicyUrl": "https://www.someHost.com/privacy-policy", "emailDomainId": "OeD114iNkrcN6aR680g4", "defaultApp": { "appInstanceId": "0oa114iNkrcN6aR680g4", "appLinkName": null, "classicApplicationUri": null }, "locale": "en", "_links": { "self": { … }, "themes": { … }, "emailDomain": { … } } }