メインコンテンツへスキップ
DELETE
/
authentication-methods
/
{authentication_method_id}
TypeScript
import { MyAccountClient } from "github.com/auth0/myaccount-js";

async function main() {
    const client = new MyAccountClient({
        token: "<token>",
    });
    await client.authenticationMethods.delete("authentication_method_id");
}
main();
{
  "type": "<string>",
  "status": 123,
  "title": "<string>",
  "detail": "<string>",
  "validation_errors": [
    {
      "detail": "<string>",
      "field": "<string>",
      "pointer": "<string>",
      "source": "<string>"
    }
  ]
}

Release Lifecycle

Planned

Scopes

Scopes define permissions and access levels for API requests and authentication tokens.
delete:me:authentication_methods

承認

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