github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/glossaries/destroy.yaml (about) 1 --- 2 summary: Delete a term base 3 description: 'Delete an existing term base (previously: glossary).' 4 operationId: glossary/delete 5 tags: 6 - Glossaries 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/account_id" 10 - "$ref": "../../parameters.yaml#/id" 11 responses: 12 '204': 13 "$ref": "../../responses.yaml#/204" 14 '400': 15 "$ref": "../../responses.yaml#/400" 16 '404': 17 "$ref": "../../responses.yaml#/404" 18 '429': 19 "$ref": "../../responses.yaml#/429" 20 x-code-samples: 21 - lang: Curl 22 source: |- 23 curl "https://api.phrase.com/v2/accounts/:account_id/glossaries/:id" \ 24 -u USERNAME_OR_ACCESS_TOKEN \ 25 -X DELETE 26 - lang: CLI v2 27 source: |- 28 phrase glossaries delete \ 29 --account_id <account_id> \ 30 --id <id> \ 31 --access_token <token> 32 x-cli-version: '2.5'