Get Started
API Documentation
Invitations
Decline an invite
Decline an invite to join a team. The user must be logged in to decline an invite.
POST
/
api
/
invites
/
{id}
/
decline
Copy
curl --location --request POST 'http://localhost:3005/api/invites/c476e01e-5642-4a20-a84f-07a8b4b5d5a4/decline' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>'
Copy
{
"data": {
}
}
Path
The id of the invite to decline.
Copy
curl --location --request POST 'http://localhost:3005/api/invites/c476e01e-5642-4a20-a84f-07a8b4b5d5a4/decline' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>'
Copy
{
"data": {
}
}
Copy
curl --location --request POST 'http://localhost:3005/api/invites/c476e01e-5642-4a20-a84f-07a8b4b5d5a4/decline' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>'
Copy
{
"data": {
}
}
Assistant
Responses are generated using AI and may contain mistakes.