Passer au contenu principal
DELETE
https://{host}/me/v1
/
authentication-methods
/
{authentication_method_id}
C#
using Auth0Auth0;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new Auth0Auth0Client(
            token: "<token>"
        );

        await client.AuthenticationMethods.DeleteAsync(
            "authentication_method_id"
        );
    }

}
{
  "type": "<string>",
  "status": 123,
  "title": "<string>",
  "detail": "<string>",
  "validation_errors": [
    {
      "detail": "<string>",
      "field": "<string>",
      "pointer": "<string>",
      "source": "<string>"
    }
  ]
}

Autorisations

Authorization
string
header
requis

Bearer and DPoP tokens are supported depending on the API configuration

Paramètres de chemin

authentication_method_id
string
requis

Authentication Method ID. This value is part of the Location header returned when creating an authentication method. It should be used as it is, without any modifications.

Réponse

Authentication method successfully deleted