curl --request POST \
--url https://apix.us.amity.co/api/v1/invitations/{invitationId}/reject \
--header 'Authorization: Bearer <token>'{
"success": true
}Rejects a pending invitation. This will change the invitation status to “rejected”.
curl --request POST \
--url https://apix.us.amity.co/api/v1/invitations/{invitationId}/reject \
--header 'Authorization: Bearer <token>'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the invitation (MongoDB ObjectId)
24Reject invitation response
Whether the invitation was successfully rejected
true