Skip to content

Cancel an invitation

DELETE
/invitations/{id}
curl --request DELETE \
--url https://example.com/invitations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--cookie bottle.session_token=<bottle.session_token>
id
required
string format: uuid

Revoked

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or the role is not allowed to do this

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

No open invitation with that id

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}