Delete Invitations
Revokes an invitation so that the user receiving it is no longer allowed to use it. You can only delete invitations that have not yet been accepted..
Delete an invitation
Provide the API with the email you sent the invitation to so that it can no longer be used to sign up.
- Curl
- Python
curl -X 'DELETE' \
'https://gigapipe.com/v1/invites' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '{
"email": "martha@lamborgini.com"
}'
# Payload response ::Dictionary
{
"message": "Invite <martha@lamborgini.com> deleted"
}
response = gigapipe_client.invites.delete_invite("martha@lamborgini.com")
# Payload response ::Dictionary
{
"message": "Invite <martha@lamborgini.com> deleted"
}
Payload
Attributes
email ::String
The email which you want to delete the invite for
Response
Attributes
message ::String
A basic response message