Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request PATCH \
--url https://api.example.com/v2/auth/tokens/{token_id}/metadata \
--header 'Content-Type: application/json' \
--data '
{
"provider_account_label": "<string>",
"is_default": true
}
'{
"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",
"is_default": false
}Update a token’s provider_account_label. Only the token owner can update.
curl --request PATCH \
--url https://api.example.com/v2/auth/tokens/{token_id}/metadata \
--header 'Content-Type: application/json' \
--data '
{
"provider_account_label": "<string>",
"is_default": true
}
'{
"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",
"is_default": false
}Successful Response
Was this page helpful?