cURL
curl --request PATCH \ --url https://api.example.com/v2/auth/tokens/{token_id}/metadata \ --header 'Content-Type: application/json' \ --data ' { "provider_account_label": "<string>" } '
{ "id": "<string>", "provider_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "provider_account_label": "<string>", "scopes": [], "expires_at": "2023-11-07T05:31:56Z" }
Update a token’s provider_account_label. Only the token owner can update.
Request model for updating a token's label.
Successful Response
Public-facing token summary — no sensitive data.
Was this page helpful?