1curl -X PUT https://api.cloudflare.com/client/v4/user/tokens/string \2 -H "Authorization: Bearer <token>" \3 -H "Content-Type: application/json" \4 -d '{5 "id": "ed17574386854bf78a67040be0a770b0",6 "name": "readonly token",7 "policies": [8 {9 "effect": "allow",10 "id": "f267e341f3dd4697bd3b9f71dd96247f",11 "permission_groups": [12 {13 "id": "6d7f2f5f5b1d4a0e9081fdc98d432fd1",14 "name": "Load Balancers Write"15 }16 ],17 "resources": {18 "string": "string"19 }20 }21 ],22 "status": "active",23 "condition": {24 "request.ip": {25 "in": [26 "199.27.128.0/21"27 ],28 "not_in": [29 "199.27.128.0/21"30 ]31 }32 },33 "expires_on": "2020-01-01T00:00:00Z",34 "issued_on": "2018-07-01T05:20:00Z",35 "modified_on": "2018-07-02T05:20:00Z",36 "not_before": "2018-07-01T05:20:00Z"37}'
1{}