メインコンテンツへスキップ
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>"
    }
  ]
}

承認

Authorization
string
header
必須

Bearer and DPoP tokens are supported depending on the API configuration

パスパラメータ

authentication_method_id
string
必須

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.

レスポンス

Authentication method successfully deleted