v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBDistributions
Update a distribution
Update an existing distribution.
patch/accounts/{account_id}/distributions/{id}
Path parameters
account_idstring required
Account ID
idstring required
ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"name": "My Android Distribution",
"project_id": "abcd1234abcd1234abcd1234",
"platforms": [
"android",
"ios"
],
"locale_ids": [
"abcd1234cdef1234abcd1234cdef1234",
"fff565db236400772368235db2c6117e"
],
"fallback_locales_enabled": true,
"fallback_to_non_regional_locale": true,
"fallback_to_default_locale": true,
"use_last_reviewed_version": true
}Response
OK
Example response
{
"locales": [
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "English",
"code": "en-GB"
}
],
"releases": [
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"version": 1,
"project": {
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Android Project",
"main_format": "xml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
},
"platforms": [
"android"
],
"environments": [
"development"
],
"locale_codes": [
"de",
"en"
],
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}
]
}