Generic endpoint for deleting a relation based on "main object" type and id and related object type and id.delete http://localhost/api/v1/{object_type}/{object_id}/{relation_type}/{relation_id}