Path Parameters
ID of the connection to decline
Response
Unique connection identifier
Connection status (will be “declined”)
Timestamp when the request was declined in ISO 8601 format
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
- Only the receiver of the connection request can decline it
- Updates connection status from “pending” to “declined”
- Sets the respondedAt timestamp
- Prevents the original requester from sending new requests (only receiver can re-initiate)
- No notification is sent to the requester
- Rate limiting: 50 requests per 5 minutes