## Delete Token `client.accounts.tokens.delete(stringtokenId, TokenDeleteParamsparams, RequestOptionsoptions?): TokenDeleteResponse | null` **delete** `/accounts/{account_id}/tokens/{token_id}` Destroy an Account Owned API token. ### Parameters - `tokenId: string` Token identifier tag. - `params: TokenDeleteParams` - `account_id: string` Account identifier tag. ### Returns - `TokenDeleteResponse` - `id: string` Identifier ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const token = await client.accounts.tokens.delete('ed17574386854bf78a67040be0a770b0', { account_id: '023e105f4ecef8ad9ca31a8372d0c353', }); console.log(token.id); ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "id": "023e105f4ecef8ad9ca31a8372d0c353" } } ```