Delete tags from an account-level resource
client.resourceTagging.accountTags.delete(AccountTagDeleteParams { account_id, ifMatch } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/tags
Removes all tags from a specific account-level resource.
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194ParametersExpand Collapse
params: AccountTagDeleteParams { account_id, ifMatch }
params: AccountTagDeleteParams { account_id, ifMatch }
ifMatch?: string
Header param: ETag value for optimistic concurrency control. When provided, the server will verify the current resource ETag matches before applying the write. Returns 412 Precondition Failed if the resource has been modified since the ETag was obtained. Omit this header for unconditional writes.
Delete tags from an account-level resource
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiEmail: process.env['CLOUDFLARE_EMAIL'], // This is the default and can be omitted
apiKey: process.env['CLOUDFLARE_API_KEY'], // This is the default and can be omitted
});
await client.resourceTagging.accountTags.delete({ account_id: '023e105f4ecef8ad9ca31a8372d0c353' });