Entities
Remove a link from an entity
POST
/
project
/
{projectId}
/
entities
/
{entityId}
/
links
/
remove
Remove a link from an entity
curl --request POST \
--url https://backend.branch.flowengineering.com/project/{projectId}/entities/{entityId}/links/remove \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>' \
--data '
{
"destinationId": "<string>",
"branchId": "<string>"
}
'import requests
url = "https://backend.branch.flowengineering.com/project/{projectId}/entities/{entityId}/links/remove"
payload = {
"destinationId": "<string>",
"branchId": "<string>"
}
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
customer: '<customer>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({destinationId: '<string>', branchId: '<string>'})
};
fetch('https://backend.branch.flowengineering.com/project/{projectId}/entities/{entityId}/links/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"formulaTemplates": {},
"formulas": {},
"id": "<string>",
"links": {
"crosslinks": [
"<string>"
],
"inbound": [
"<string>"
],
"inboundOrder": {},
"outbound": [
"<string>"
],
"inboundTypes": {},
"outboundOrder": {},
"outboundTypes": {},
"rootPlaced": true
},
"values": {},
"branchesChangedIn": [
"<string>"
],
"branchesCreatedIn": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"defaultSortKey": "<string>",
"deleted": true,
"type": "<string>",
"uniqueEntityNumber": 123,
"updatedAt": "2023-11-07T05:31:56Z"
}Authorizations
api-keybearer
Headers
Workspace identifier
Response
200 - application/json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Remove a link from an entity
curl --request POST \
--url https://backend.branch.flowengineering.com/project/{projectId}/entities/{entityId}/links/remove \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>' \
--data '
{
"destinationId": "<string>",
"branchId": "<string>"
}
'import requests
url = "https://backend.branch.flowengineering.com/project/{projectId}/entities/{entityId}/links/remove"
payload = {
"destinationId": "<string>",
"branchId": "<string>"
}
headers = {
"customer": "<customer>",
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
customer: '<customer>',
'X-API-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({destinationId: '<string>', branchId: '<string>'})
};
fetch('https://backend.branch.flowengineering.com/project/{projectId}/entities/{entityId}/links/remove', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"formulaTemplates": {},
"formulas": {},
"id": "<string>",
"links": {
"crosslinks": [
"<string>"
],
"inbound": [
"<string>"
],
"inboundOrder": {},
"outbound": [
"<string>"
],
"inboundTypes": {},
"outboundOrder": {},
"outboundTypes": {},
"rootPlaced": true
},
"values": {},
"branchesChangedIn": [
"<string>"
],
"branchesCreatedIn": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"defaultSortKey": "<string>",
"deleted": true,
"type": "<string>",
"uniqueEntityNumber": 123,
"updatedAt": "2023-11-07T05:31:56Z"
}