Delete relationship row by id
Hard-deletes one relationship row by id. Returns the deleted relationship row as confirmation, or 204 when the deleted orphan row has no target entity to render.
Authentication
AuthorizationBearer
User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key
OR
X-API-Keystring
Admin API key for system-to-system write operations
Path parameters
relationshipId
Integer entity_relationship.id row id from EntityRelationship.id, not an entity UUID.
Query parameters
sourceType
Write provenance source type.
sourceDetail
Source detail or reviewer reference for the write.
sourceProvider
Provider name for provider-native IDs or slugs.
sourceProviderId
Provider-native source ID.
sourceProviderSlug
Provider-native source slug.
actorType
Actor type; inferred as agent when agentChassis and agentModel are supplied, or as employee from an authenticated user JWT session.
Allowed values:
agentChassis
Agent chassis token for agent-authored writes.
agentModel
Agent model id for agent-authored writes.
Response
Orphaned relationship row deleted without response body
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error