DevelopmentApi
Decline organization invite by id
Declines a pending organization invite by its identifier so it no longer appears in the authenticated user's inbox.
Declines a pending organization invite by its identifier so it no longer appears in the authenticated user's inbox.
Authorization
patAuth PAT<token>
Personal Access Token
In: header
Path Parameters
inviteId*string
Response Body
application/json
curl -X POST "https://loading/api/org-invites/string/decline"{
"$id": "string",
"organizationId": "string",
"email": "user@example.com",
"normalizedEmail": "string",
"inviteTokenHash": "string",
"status": "pending",
"workspaceRole": "workspace_admin",
"workspaceId": "string",
"invitedByUserId": "string",
"expiresAt": "string",
"acceptedByUserId": "string",
"acceptedAt": "string"
}Empty