Entities
Delete multiple entities in one transaction
POST
/
project
/
{projectId}
/
entities
/
delete
/
batch
Delete multiple entities in one transaction
curl --request POST \
--url https://backend.branch.flowengineering.com/project/{projectId}/entities/delete/batch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>' \
--data '
{
"entityIds": [
"<string>"
],
"branchId": "<string>"
}
'import requests
url = "https://backend.branch.flowengineering.com/project/{projectId}/entities/delete/batch"
payload = {
"entityIds": ["<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({entityIds: ['<string>'], branchId: '<string>'})
};
fetch('https://backend.branch.flowengineering.com/project/{projectId}/entities/delete/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));⌘I
Delete multiple entities in one transaction
curl --request POST \
--url https://backend.branch.flowengineering.com/project/{projectId}/entities/delete/batch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'customer: <customer>' \
--data '
{
"entityIds": [
"<string>"
],
"branchId": "<string>"
}
'import requests
url = "https://backend.branch.flowengineering.com/project/{projectId}/entities/delete/batch"
payload = {
"entityIds": ["<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({entityIds: ['<string>'], branchId: '<string>'})
};
fetch('https://backend.branch.flowengineering.com/project/{projectId}/entities/delete/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));