Consumer Authentication

/

API reference

/

Users

/

Delete

/

Delete user TOTP

Delete User TOTP

DELETEhttps://test.stytch.com/v1/users/totps/{totp_id}

Delete a TOTP from a User.


Path parameters


totp_id*string

Response fields


status_codeint

request_idstring

user_idstring

userobject
curl --request DELETE \
  --url https://test.stytch.com/v1/users/totps/totp-test-41920359-8bbb-4fe8-8fa3-aaa83f35f02c \
  -u 'PROJECT_ID:SECRET' \
  -H 'Content-Type: application/json'

RESPONSE

200
{
  "status_code": 200,
  "request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
  "user_id": "user-test-16d9ba61-97a1-4ba4-9720-b03761dc50c6",
  "user": {...}
}