# Value ## Roll Token `accounts.tokens.value.update(strtoken_id, ValueUpdateParams**kwargs) -> TokenValue` **put** `/accounts/{account_id}/tokens/{token_id}/value` Roll the Account Owned API token secret. ### Parameters - `account_id: str` Account identifier tag. - `token_id: str` Token identifier tag. - `body: object` ### Returns - `str` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) token_value = client.accounts.tokens.value.update( token_id="ed17574386854bf78a67040be0a770b0", account_id="023e105f4ecef8ad9ca31a8372d0c353", body={}, ) print(token_value) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": "8M7wS6hCpXVc-DoRnPPY_UCWPgy8aea4Wy6kCe5T" } ```