Consumer Authentication

/

API reference

/

Users

/

Delete

/

Delete user password

Delete User password

DELETEhttps://test.stytch.com/v1/users/passwords/{password_id}

Delete a password from a User.


Path parameters


password_id*string

Response fields


status_codeint

request_idstring

user_idstring

userobject
curl --request DELETE \
  --url https://test.stytch.com/v1/users/passwords/password-test-ca6dbe77-10e5-4403-805a-b117c55c24c6 \
  -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": {...}
}

Common Error Types