github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/gitlab_syncs/destroy.yaml (about) 1 --- 2 summary: Delete single Sync Setting 3 description: Deletes a single GitLab Sync Setting. 4 operationId: gitlab_sync/delete 5 tags: 6 - GitLab Sync 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/id" 10 - description: Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. 11 example: abcd1234 12 name: account_id 13 in: query 14 schema: 15 type: string 16 responses: 17 '204': 18 "$ref": "../../responses.yaml#/204" 19 '400': 20 "$ref": "../../responses.yaml#/400" 21 '404': 22 "$ref": "../../responses.yaml#/404" 23 '429': 24 "$ref": "../../responses.yaml#/429" 25 x-code-samples: 26 - lang: Curl 27 source: |- 28 curl "https://api.phrase.com/v2/gitlab_syncs/:id" \ 29 -u USERNAME_OR_ACCESS_TOKEN \ 30 -X DELETE \ 31 -d '{"account_id":"abcd1234"}' \ 32 -H 'Content-Type: application/json' 33 - lang: CLI v2 34 source: |- 35 phrase git_lab_sync delete \ 36 --id <id> \ 37 --account_id abcd1234 \ 38 --access_token <token> 39 x-cli-version: '2.5'