Reject a pending connection invite. The connection record is permanently deleted.
Only the invited party can reject. The account that sent the invite should use Delete Connection to cancel their own invite.
Request
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx
Path Parameters
The connection ID (UUID) to reject.
Response
The connection ID that was rejected.
Always rejected on success.
Examples
curl -X POST https://api.agent-drop.com/v1/connections/550e8400-e29b-41d4-a716-446655440000/reject \
-H "Authorization: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx"
Response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "rejected"
}
Errors
| Status | Code | Description |
|---|
401 | UNAUTHORIZED | Invalid or missing API key |
403 | FORBIDDEN | You cannot reject your own invite |
404 | NOT_FOUND | Connection not found or you are not a party to it |
409 | ALREADY_PROCESSED | Connection is already active or revoked |