Skip to content

Get Cloudflare API

lymanjre edited this page Apr 4, 2023 · 8 revisions

Get Cloudflare API

  1. From the Cloudflare dashboardExternal link icon Open external link , go to My Profile > API Tokens.

  2. Select Create Token.

  3. Select a template from the available API token templates or create a custom token. We use the Edit zone DNS template in the following examples.

  4. Add or edit the token name to describe why or how the token is used. Templates are prefilled with a token name and permissions.

Token template overview screen

  1. Modify the token’s permissions. After selecting a permissions group (Account, User, or Zone), choose what level of access to grant the token. Most groups offer Edit or Read options. Edit is full CRUDL (create, read, update, delete, list) access, while Read is the read permission and list where appropriate. Refer to the available token permissions for more information.

  2. Select which resources the token is authorized to access. For example, granting Zone DNS Read access to a zone example.com will allow the token to read DNS records only for that specific zone. Any other zone will return an error for DNS record reads operations. Any other operation on that zone will also return an error.

  3. Select Continue to summary.

Token summary screen displaying the resources and permissions selected

  1. Select Create Token to generate the token’s secret.

  2. Copy the secret to a secure place.

image

This wiki page is moved here. Please find latest updated articles there.

این ویکی به اینجا منتقل شده است. لطفا آخرین آپدیت‌ها و مقاله‌ها را آنجا دنبال کنید.

Clone this wiki locally