Consumer Authentication

/

API reference

/

Users

/

Delete

/

Delete user OAuth registration

Delete User OAuth registration

DELETEhttps://test.stytch.com/v1/users/oauth/{oauth_user_registration_id}

Delete an OAuth registration from a User.


Path parameters


oauth_user_registration_id*string

Response fields


status_codeint

request_idstring

user_idstring

userobject
curl --request DELETE \
  --url https://test.stytch.com/v1/users/oauth/oauth-user-test-de86770c-911d-463f-80e7-f1b089cead14 \
  -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