Bulk Updates
Body
Request to update status of multiple relations
relation_idsinteger[]RequiredExample:
List of relation IDs
[1,2,3]statusstring · enumRequiredExample:
New status to apply (e.g., 'approved', 'rejected', 'pending')
approvedPossible values: Responses
200
OK
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
application/json
post/api/relations/status
POST /api/relations/status HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"relation_ids": [
1,
2,
3
],
"status": "approved"
}{
"data": {
"errors": {
"permissions": {
"message": "forbidden",
"reason": "permissions",
"relations": [
{
"id": 2,
"source_id": 456,
"source_name": "Product",
"source_type": "business_concept",
"tag_type": null,
"target_id": 789,
"target_name": "Inventory",
"target_type": "data_structure"
}
]
}
},
"relations": [
{
"id": 1,
"source_id": 123,
"source_name": "Customer",
"source_type": "business_concept",
"status": "approved",
"tag_type": "business_concept",
"target_id": 456,
"target_name": "Orders",
"target_type": "data_structure"
}
]
}
}Last updated