Skip to main content
Decline Connection
Declines a pending connection request. Only the receiver of the original request can decline it. The connection record status is updated to "declined" rather than being deleted.

Path Parameters

string
required
The ID (UUID) of the pending connection record to decline.

Body Parameters

string
Service key only, and required with one: the user this request acts as. Must be the receiver of the request. A user token always acts as its own user and must not send it (400 connection/acting-user-not-allowed).

Response

On success, returns HTTP 200:
string
Connection record ID.
string
"declined".
string
ISO timestamp of when the request was declined.

Error Responses

A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials:

See Also