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
1 - 50
Reject invitation response
The response is of type object
.