Project

General

Profile

Feature #9639

Cloudflare DDNS "API Token"

Added by theodore adams 2 months ago. Updated 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Dynamic DNS
Target version:
-
Start date:
07/18/2019
Due date:
% Done:

0%

Estimated time:

Description

Request to add support for new Cloudflare API Token to allow for managed access and permissions for DDNS updates.

https://api.cloudflare.com/#getting-started-requests

API Tokens use the standard Authorization: Bearer header for authentication instead of x-auth-email and x-auth-key that API Keys use. Requests can be authenticated like the following:

curl -X GET "https://api.cloudflare.com/client/v4/zones/cd7d0123e3012345da9420df9514dad0" \
-H "Content-Type:application/json" \
-H "Authorization: Bearer 1234567893feefc5f0q5000bfo0c38d90bbeb"

History

#1 Updated by theodore adams 22 days ago

theodore adams wrote:

Request to add support for new Cloudflare API Token to allow for managed access and permissions for DDNS updates.

https://api.cloudflare.com/#getting-started-requests

API Tokens use the standard Authorization: Bearer header for authentication instead of x-auth-email and x-auth-key that API Keys use. Requests can be authenticated like the following:

curl -X GET "https://api.cloudflare.com/client/v4/zones/cd7d0123e3012345da9420df9514dad0" \
-H "Content-Type:application/json" \
-H "Authorization: Bearer 1234567893feefc5f0q5000bfo0c38d90bbeb"

This feature has now been released generally:
https://blog.cloudflare.com/api-tokens-general-availability/

Also available in: Atom PDF