Phrases
Update a phrase
Replaces a phrase you own and emits phrase.updated. Answers 404 — not 403 — for a phrase belonging to another organization, so ids cannot be probed. Requires the phrases:write scope. Send Idempotency-Key to make retries safe for 24 hours.
put/api/v1/phrases/{phraseId}
Request
- Base URL: https://api.multilocale.com
- URL: https://api.multilocale.com/api/v1/phrases/{phraseId}
- Auth: one of:
- HTTP basic
- API key in header Authorization
- OAuth 2 (authorization code, authorization URL https://app.multilocale.com/oauth/authorize, token URL https://api.authrice.com/api/oauth/token, scopes: phrases:write)
Path parameters
phraseIdstring required
Headers
Idempotency-Keystring
Unique retry key retained for 24 hours (maximum 255 characters)
Request body
Example request
{
"key": "welcome_message",
"value": "Welcome",
"language": "en"
}Response
The updated phrase
Example response
{
"key": "welcome_message",
"value": "Welcome",
"language": "en"
}Changes
No recorded changes to this operation across all 1 revision of this API.