Reset a string
DELhttps://app.shuttleglobal.com/c/api/instances/{instance_key}/strings/{string_id}
Removes your wording for one string in one language, so it goes back to the wording it inherits.
language and branding must be sent as query parameters. A request body is ignored, so
leaving language out of the query string resets the default (base) wording instead.
Resetting a string that has no wording of its own is accepted and changes nothing. Resetting every string in a language does not remove the language.
Returns 204 with no body. Read the string back to see the wording that now applies.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The string’s id, e.g. web.payment_form.card_number.
Query Parameters
Section titled “Query Parameters”"default""ar"Lowercase two-letter ISO 639-1 language code (e.g. ar), or default for the base wording.
Defaults to default.
Enterprise field, for accounts with more than one branding. Leave out to use your own branding.
Responses
Section titled “Responses”String reset
Bad request
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Authentication required
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorised"}Was this page helpful?
What went wrong?
Thanks for telling us.