## Disable R2 catalog `client.r2DataCatalog.disable(stringbucketName, R2DataCatalogDisableParamsparams, RequestOptionsoptions?): void` **post** `/accounts/{account_id}/r2-catalog/{bucket_name}/disable` Disable an R2 bucket as a catalog. This operation deactivates the catalog but preserves existing metadata and data files. The catalog can be re-enabled later. ### Parameters - `bucketName: string` Specifies the R2 bucket name. - `params: R2DataCatalogDisableParams` - `account_id: string` Use this to identify the account. ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); await client.r2DataCatalog.disable('my-data-bucket', { account_id: '0123456789abcdef0123456789abcdef', }); ```