Skip to main content
Withdraw RSVP
Removes the caller’s RSVP. The RSVP row is deleted and the matching rsvpCounts entry is decremented. Requires authentication. The caller can always withdraw their own RSVP, also from an event they can no longer see (for example after leaving its space). Withdrawing when there is no RSVP succeeds and changes nothing if the caller can see the event, and answers 404 if they can’t.

Path Parameters

string
required
UUID of the event.

Query Parameters

A DELETE takes no body: every field besides the path goes in the query string.
string
Service key only, and required with one: the user this request acts as, whose RSVP is withdrawn. The request is held to that user’s own RSVP and event visibility. A user token always acts as its own user and must not send it, and neither may a request with no credentials (400 event/acting-user-not-allowed).

Response

Returns the Event with refreshed rsvpCounts. When the caller can’t see the event, the response is only:

Error Responses

The request carried a body. A DELETE takes no body: send actingUserId in the query string.
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 in the query string. 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: useWithdrawRsvp