v1
latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KBRepo Syncs
Deactivate a Repo Sync
Deactivate an active Repo Sync. Import and export can't be performed on deactivated syncs and the pushes to the repository won't trigger the import to Phrase.
post/accounts/{account_id}/repo_syncs/{id}/deactivate
Path parameters
account_idstring required
Account ID
idstring required
ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Response
OK
Example response
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"project": {
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "My Android Project",
"main_format": "xml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
},
"provider": "github",
"enabled": true,
"auto_import": true,
"repo_name": "organization/repo",
"created_at": "2015-01-28T09:52:53Z",
"last_import_at": "2015-01-28T09:52:53Z",
"last_export_at": "2015-01-28T09:52:53Z"
}