github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/custom_metadata_properties/destroy.yaml (about) 1 --- 2 summary: Destroy property 3 description: | 4 Destroy a custom metadata property of an account. 5 6 This endpoint is only available to accounts with advanced plans or above. 7 operationId: custom_metadata_properties/delete 8 tags: 9 - Custom Metadata 10 parameters: 11 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 12 - "$ref": "../../parameters.yaml#/account_id" 13 - "$ref": "../../parameters.yaml#/id" 14 responses: 15 '204': 16 "$ref": "../../responses.yaml#/204" 17 '400': 18 "$ref": "../../responses.yaml#/400" 19 '404': 20 "$ref": "../../responses.yaml#/404" 21 '429': 22 "$ref": "../../responses.yaml#/429" 23 x-code-samples: 24 - lang: Curl 25 source: |- 26 curl "https://api.phrase.com/v2/accounts/:account_id/custom_metadata/properties/:id" \ 27 -u USERNAME_OR_ACCESS_TOKEN 28 -X DELETE 29 -H 'Content-Type: application/json' 30 - lang: CLI v2 31 source: |- 32 phrase custom_metadata_properties delete \ 33 --account_id <account_id> \ 34 --id <id> \ 35 --access_token <token> 36 x-cli-version: '2.9'