UserUser API Tokens

Roll Token

PUT
Roll the token secret.

Path parameters

identifieranyRequired

Request

This endpoint expects a map from strings to any.

Response

This endpoint returns an object
result
stringOptional
The token value.
PUT
1curl -X PUT https://api.cloudflare.com/client/v4/user/tokens/string/value \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "string": "string"
6}'
200Updated
1{
2 "result": "8M7wS6hCpXVc-DoRnPPY_UCWPgy8aea4Wy6kCe5T"
3}