cURL
curl --request POST \ --url https://api.usecobalt.com/v1/settings \ --header 'Content-Type: application/json' \ --header 'access_token: <api-key>' \ --header 'client_id: <api-key>' \ --header 'client_secret: <api-key>' \ --data ' { "access_token_reference_id": "<string>" } '
{ "success": true, "data": { "access_token_reference_id": "<string>" } }
Updates the settings for the associated access token.
curl -X POST https://api.usecobalt.com/v1/settings \ -H 'Content-Type: application/json' \ -H 'client_id: ci_live_198908HJDKJSH98789OHKJL' \ -H 'client_secret: cs_live_9827hofdsklOYYHJLJh' \ -H 'access_token: 493JKLHIU98789hLKH9HHJH' \ -d '{ "access_token_reference_id": "at_ref_123456789" }'
{ "success": true, "data": { "access_token_reference_id": "at_ref_123456789" } }
access_token_reference_id
The reference ID for the access token
Successful response
Show child attributes