Revoke a pending invite based on the email provided.
Revoke pending invite
POSThttps://test.stytch.com/v1/magic_links/email/revoke_invite
Body parameters
email* string
Response fields
status_code int
request_id string
curl --request POST \
--url https://test.stytch.com/v1/magic_links/email/revoke_invite \
-u 'PROJECT_ID:SECRET' \
-H 'Content-Type: application/json' \
-d '{
"email": "sandbox@stytch.com"
}'
RESPONSE
200
{
"status_code": 200,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141"
}