DELETE /users/{userId}/authentication-methods/{authenticationMethodId} - Deletes a specific authentication method for a user by its ID.
Headers:
Authorization: Bearer <access_token>
Content-Type: application/json or application/x-www-form-urlencoded
Body:
Path Parameters:
Query Parameters:
204 No Content
400
401
404
500
{ "error": "Detailed error message here"} Copy
{ "error": "Detailed error message here"}
DELETE /users/exampleUserId/authentication-methods/exampleAuthMethodId{} // provider defaults to "auth0-user" if omitted Copy
DELETE /users/exampleUserId/authentication-methods/exampleAuthMethodId{} // provider defaults to "auth0-user" if omitted
{} Copy
{}
The API Gateway event containing the request.
A Promise resolving to an API Gateway-compatible response.
DELETE /users/{userId}/authentication-methods/{authenticationMethodId} - Deletes a specific authentication method for a user by its ID.
Remarks
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
Path Parameters:
Query Parameters:
📤 Response
204 No Content– Authentication method successfully deleted.❗ Errors
400401404500Error Response Format
📦 Examples
📥 Auth0 Request
📤 Response Example