Skip to main content
Version: v1.0.0(int)

E011: Decline invitation

POST /api/invitations/decline

Marks a pending invitation as declined. Triggered from My Invitations by an authenticated user who received the invitation and chooses not to accept. Operates on the invitation id, not the token (the user has already authenticated, so they can be matched by email rather than by an opaque link).

Authentication​

User-scoped route. Requires Authorization: Bearer <firebase-id-token>; X-Org-Id is not required — the user identity alone is sufficient. Access: Member.

Request​

{
"token": "opaque-string"
}

Response — 204 No Content​

Empty response body.

Errors​

HTTPcodeCondition
404not_foundUnknown token.
422validation_failedFirebase token email does not match the invitation email.
409invalid_transitionInvitation is already accepted or revoked.

Workflow​

Calls W011 Decline invitation.