---
title: API and Terraform · Cloudflare Zero Trust docs
description: This section covers a few common use cases with the API and Terraform to manage Cloudflare Zero Trust. For more information, refer to our API documentation and Terraform reference guide.
lastUpdated: 2024-09-06T21:57:07.000Z
source_url:
  html: https://patricia-pcx17119-l7-overrides.preview.developers.cloudflare.com/cloudflare-one/api-terraform/index.md
  md: https://patricia-pcx17119-l7-overrides.preview.developers.cloudflare.com/cloudflare-one/api-terraform/
---

This section covers a few common use cases with the API and Terraform to manage Cloudflare Zero Trust. For more information, refer to our [API documentation](https://developers.cloudflare.com/api/) and [Terraform reference guide](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs).

* [Access API examples](https://developers.cloudflare.com/cloudflare-one/api-terraform/access-api-examples/)
* [Scoped API tokens](https://developers.cloudflare.com/cloudflare-one/api-terraform/scoped-api-tokens/)
* [Terraform](https://developers.cloudflare.com/cloudflare-one/api-terraform/access-with-terraform/)

## Set dashboard to read-only

Super Administrators can lock all settings as read-only in Zero Trust. Read-only mode ensures that all updates for the account are made through the API or Terraform.

To enable read-only mode:

1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Settings** > **Account**.
2. Enable **API/Terraform read-only mode**.

All users, regardless of [user permissions](https://developers.cloudflare.com/cloudflare-one/roles-permissions/), will be prevented from making configuration changes through the UI.
