Turns an invitation down. Its status becomes declined and it can no longer be accepted. To invite the same address again, an admin sends a new invitation — a declined invitation can't be resent.
Note
Public — no credential needed. The invitee may not have an account; the token from the invitation email is what grants access, so anyone holding a forwarded link can decline it. Any plan.
Path Parameters
NameDescription
token:stringpathRequired
The invitation token from the link in the invitation email.
Response — 200 OK
Declining an invitation that is already declined returns the same response. The first decline is recorded in the workspace's audit log as org.invite.declined.
Error Responses
400 Bad Request
invite_not_pending — the invitation was already accepted, revoked or marked expired:
json
{
"error": {
"code": "invite_not_pending",
"message": "This invitation has already been used or revoked",