Delete text overrides

DELETE /v1/branding/texts/{screen}/{locale} · permission branding:write

Deletes text overrides of one screen and locale. With key only those keys are deleted; without it every override of the screen and locale in the scope is deleted. Deleted keys fall back to the catalog text after publish. Deleting keys that have no override is not an error.

Request

Field Type Required Description
screen path yes Hosted page screen (e.g. login, authorize).
locale path yes Supported locale (e.g. en, tr).
application_id query no Application scope (app_…). Without it and org_id the environment scope is used.
org_id query no Organization scope (org_…). Cannot be combined with application_id.
key query, repeated no Key to delete (at most 500).

Response

204 No Content.

Errors

HTTP code When
404 not_found The application_id or org_id is malformed, or the application does not exist in this environment.
422 validation_failed More than 500 key values (too_many). Both application_id and org_id were given (mutually_exclusive), or one was repeated (repeated).
401 unauthenticated The credential is missing, invalid or revoked.
403 insufficient_permissions The credential lacks the required permission.
429 rate_limited The rate limit was exceeded; retry after the Retry-After period.
503 service_unavailable A dependency is temporarily unavailable; retry after the Retry-After period.

Example

curl -X DELETE "https://api.eu.keenauth.com/v1/branding/texts/login/tr?key=title&key=subtitle" \
  -H "Authorization: Bearer $KEENAUTH_SECRET_KEY"