Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Access Service Tokens creation support #22

Open
Maciej-Sitarz-IBM opened this issue Apr 4, 2022 · 0 comments
Open

Add Access Service Tokens creation support #22

Maciej-Sitarz-IBM opened this issue Apr 4, 2022 · 0 comments

Comments

@Maciej-Sitarz-IBM
Copy link

Maciej-Sitarz-IBM commented Apr 4, 2022

Cloudflare API reference for Access Service Tokens creation:
https://api.cloudflare.com/#access-service-tokens-create-access-service-token

Example Cloudflare API call to create Access Service Token:

curl --request POST \
  --url https://api.cloudflare.com/client/v4/accounts/ACCOUNT_ID/access/service_tokens \
  --header 'Authorization: Bearer BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
	"name": "SERVICE_TOKEN_NAME"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant