Skip to main content
POST
/
v1
/
profiles
/
{id}
/
upgrade
Upgrade Profile
curl --request POST \
  --url https://api.bctrl.ai/v1/profiles/{id}/upgrade \
  --header 'Authorization: Bearer <token>'
{
  "upgraded": true
}
id
string
required
Profile ID.
Returns null (SDK) if the profile is already on the latest version.

Examples

import { Bctrl } from '@bctrl/sdk';
const bctrl = new Bctrl({ apiKey: process.env.BCTRL_API_KEY! });

const result = await bctrl.browser('my-browser').upgrade();
if (result) console.log('Upgraded');

Response

upgraded
boolean
required
Whether the profile was upgraded.