User

Edit User

PATCH
Edit part of your user details.

Request

This endpoint expects an object.
country
stringOptional
The country in which the user lives.
first_name
stringOptional
User's first name
last_name
stringOptional
User's last name
telephone
stringOptional
User's telephone number
zipcode
stringOptional
The zipcode or postal code where the user lives.

Response

This endpoint returns an object
result
map from strings to anyOptional
PATCH
1curl -X PATCH https://api.cloudflare.com/client/v4/user \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "country": "US",
6 "first_name": "John",
7 "last_name": "Appleseed",
8 "telephone": "+1 123-123-1234",
9 "zipcode": "12345"
10}'
200Updated
1{}