Decline an Invitation
Testing
POST
/calendars/{calendarId}/events/{eventId}/members/decline-invitation
eventId
: Event Id to which the member belongs.token
: The invitation token.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/calendars/663a2c5effae959147ee2981/events/66f636885550f70db3874945/members/decline-invitation' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NmJmNzM5OTg0YzBjZDNkZDY0ODRlMzQiLCJpYXQiOjE3MjQwNjc1NzMsImV4cCI6MjMyODg2NzU3MywiYXVkIjoibG9jYWxob3N0OjMwMDAiLCJpc3MiOiJsb2NhbGhvc3Q6MzAwMCJ9.hDjAM9-mNiboeZ6idIhqjhn5JkdDji5VP9zZ5PoJMZY"
}'
Response Response Example
201 - Success
{
"id": "66fd15a208a82fa0e54200cb",
"role": "guest",
"eventId": "66f636885550f70db3874945",
"invited": true,
"createdAt": "Wed Oct 02 2024 12:42:58 GMT+0300 (East Africa Time)",
"updatedAt": "Wed Oct 02 2024 12:47:53 GMT+0300 (East Africa Time)",
"email": "dtamirat896@gmail.com",
"invitationStatus": "declined"
}
Request
Path Params
calendarId
stringÂ
required
Example:
663a2c5effae959147ee2981
eventId
stringÂ
required
Example:
66f636885550f70db3874945
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified at 2025-04-09 13:03:03