Path Parameters
ID of the connection to remove
Response
Success message confirming the action
Possible Success Messages
Withdraw Request:Error Responses
Invalid Connection ID - 400 Bad Request
Invalid Connection ID - 400 Bad Request
Unauthorized - 403 Forbidden
Unauthorized - 403 Forbidden
Connection Not Found - 404 Not Found
Connection Not Found - 404 Not Found
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
- Requires authentication
- Withdraw: Only the requester can withdraw pending requests they sent
- Disconnect: Either party can remove established connections
- Deletes the connection record completely (allows fresh requests later)
- Use this endpoint when you have the specific connection ID
- Alternative: Use
DELETE /:projectId/users/:userId/connection
when you know the user ID - Rate limiting: 50 requests per 5 minutes