Consumer Authentication

/

API reference

/

Magic links

/

Via email

/

Revoke pending invite

Revoke pending invite

POSThttps://test.stytch.com/v1/magic_links/email/revoke_invite

Revoke a pending invite based on the email provided.


Body parameters


email*string

Response fields


status_codeint

request_idstring
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"
}