Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (10 loc) · 757 Bytes

api-token.md

File metadata and controls

19 lines (10 loc) · 757 Bytes

API Token

Cloudflare supports API token which can limits scope and permission.

Create Token

First, go to your profile page and access the API Tokens page. Click Create Token.

API Tokens page

Then, create a token with #dns_records:edit and #zone:read (optional).

#zone:read is needed if you want to use zone name instead of zone id. If you copy and paste the zone id to configuration, #zone:read is not needed.

The token can be limited to specific zones in Zone Resources.

Create API token

After that, click Continue to summary and Create Token. Note that the token needed to be copied, it will not be shown again after this. It can be deleted and create a new one anytime needed.