PHP Client for Cloudflare API
Client Reference

User

User endpoint reference.

Get

Retrieves detailed information about the currently authenticated user, including email, name, and account memberships.

php
$response = $client->user()->get();
View this operation on the Cloudflare API Reference

Update

Edit part of your user details.

ParamTypeRequiredDefaultDescription
valuesarrayNo[]User values, e.g. first_name, last_name, telephone, country, zipcode.
php
$response = $client->user()->update([]);
View this operation on the Cloudflare API Reference
Copyright © 2026