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