Skip to main content
PUT
/
v1
/
profiles
/
{name}
JavaScript
import Anchorbrowser from 'anchorbrowser';

const client = new Anchorbrowser({
  apiKey: 'Your API Key',
});

const successResponse = await client.profiles.update('my-profile');

console.log(successResponse.data);
{
  "data": {
    "status": "success"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

name
string
required

The name of the profile to update.

Example:

"my-profile"

Body

application/json
description
string

The new description for the profile.

Example:

"Updated profile description."

source
enum<string>

The source of the profile data. Currently, only session is supported.

Available options:
session
Example:

"session"

session_id
string<uuid>

The browser session ID is required if the source is set to session. The browser session must belong to the user and be active.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Profile updated successfully.

data
object
I