PHP Client for Cloudflare API
Tokens

Value

Value endpoint reference.

Roll

Roll the Account Owned API token secret.

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