English
cURL
curl --request DELETE \ --url https://api.phrase.com/v2/projects/{project_id}/keys/{id}/key_links \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "child_key_ids": [ "child_key_id1", "child_key_id2" ], "unlink_parent": false } '
{ "message": "Validation Failed", "errors": [ { "resource": "Resource", "field": "name", "message": "can't be blank" } ] }
Unlinks multiple child keys from a given parent key in a single operation.
Enter your token in the format token TOKEN
token TOKEN
Two-Factor-Authentication token (optional)
Project ID
Parent Translation Key ID
The IDs of the child keys to unlink from the parent key.
["child_key_id1", "child_key_id2"]
Whether to unlink the parent key as well and unmark it as linked-key.
OK
Was this page helpful?