cURL
curl --request DELETE \ --url https://app.journeybee.io/api/v1/partnerships/{partnershipId} \ --header 'Authorization: Bearer <token>'
(No response body)
Delete a partnership
curl -X DELETE "https://app.journeybee.io/api/v1/partnerships/{partnershipId}" \ -H "Authorization: Bearer your-api-key-uuid" \ -H "Content-Type: application/json"
204 No Content
curl -X DELETE "https://app.journeybee.io/api/v1/companies/123/partnerships/789" \ -H "Authorization: Bearer jb_api_1234567890abcdef" \ -H "Content-Type: application/json"
{ "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" }
write_access