PHP Client for Cloudflare API
Tokens

Value

Value endpoint reference.

Roll

Roll the API token secret.

ParamTypeRequiredDefaultDescription
tokenIdstringYesToken identifier.
php
$response = $client->user()->tokens()->value()->roll('TOKEN_ID');
View this operation on the Cloudflare API Reference
Copyright © 2026