Authentication
curl -X DELETE "https://app.journeybee.io/api/v1/partnerships/{partnershipId}" \
-H "Authorization: Bearer your-api-key-uuid" \
-H "Content-Type: application/json"
Path Parameters
The unique identifier of the company partnership to delete
Response Schema
The API returns a 204 No Content status code on successful deletion with no response body.
Example Request
curl -X DELETE "https://app.journeybee.io/api/v1/companies/123/partnerships/789" \
-H "Authorization: Bearer jb_api_1234567890abcdef" \
-H "Content-Type: application/json"
Example Response
Error Responses
{
"error": "Invalid API key or insufficient permissions"
}
{
"error": "Write access required for this operation"
}
{
"error": "Partnership not found or already deleted"
}
{
"error": "Cannot delete partnership with active leads or deals"
}
Notes
- Requires API key with
write_access permission
- Partner company is notified of partnership termination