-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add delete api doc for CM properties
- Loading branch information
1 parent
d4b469d
commit 2263b9d
Showing
4 changed files
with
55 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
summary: Destroy property | ||
description: | | ||
Destroy a custom metadata property of an account. | ||
This endpoint is only available to accounts with advanced plans or above. | ||
operationId: custom_metadata_properties/delete | ||
tags: | ||
- Custom Metadata | ||
parameters: | ||
- "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" | ||
- "$ref": "../../parameters.yaml#/account_id" | ||
- "$ref": "../../parameters.yaml#/id" | ||
responses: | ||
'204': | ||
"$ref": "../../responses.yaml#/204" | ||
'400': | ||
"$ref": "../../responses.yaml#/400" | ||
'404': | ||
"$ref": "../../responses.yaml#/404" | ||
'429': | ||
"$ref": "../../responses.yaml#/429" | ||
x-code-samples: | ||
- lang: Curl | ||
source: |- | ||
curl "https://api.phrase.com/v2/accounts/:account_id/custom_metadata/labels/:id" \ | ||
-u USERNAME_OR_ACCESS_TOKEN | ||
-X DELETE | ||
-H 'Content-Type: application/json' | ||
- lang: CLI v2 | ||
source: |- | ||
phrase custom_metadata_properties delete \ | ||
--account_id <account_id> \ | ||
--id <id> \ | ||
--access_token <token> | ||
x-cli-version: '2.9' |
Oops, something went wrong.