Skip to main content
DELETE
Remove Connection
Removes a connection record by its ID. The behavior depends on the connection’s current status:
  • Pending — only the requester can withdraw the request (record is deleted).
  • Accepted — either connected user can disconnect (record is deleted).
Use Remove Connection (by user ID) if you only have the other user’s ID.

Path Parameters

connectionId
string
required
The ID (UUID) of the connection record to remove.

Response

On success, returns HTTP 200:
message
string
Human-readable description: "Connection request withdrawn successfully." or "Connection removed successfully.".

Error Responses

See Also