Passer au contenu principal
DELETE
/
connected-accounts
/
accounts
/
{id}
TypeScript
import { MyAccountClient } from "github.com/auth0/myaccount-js";

async function main() {
    const client = new MyAccountClient({
        token: "<token>",
    });
    await client.connectedAccounts.delete("id");
}
main();
{
  "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

id
string
requis

The unique identifier of the connected account The unique identifier for a connected account

Pattern: ^cac_[A-Za-z0-9]+$

Réponse

Connected account successfully deleted