Skip to content

Revert one string to what ships

DELETE
/site-text/{key}

Removes the override for (key, language); the shipped string renders again on the next read. 404 when nothing was overridden — reverting a string that was never changed is a mistake worth reporting rather than a silent success.

key
required
string

The dotted i18n key, e.g. nav.collections.

language
required
string

Locale code the override was written for.

Override removed

Malformed request

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed