Skip to main content
PATCH
/
profiles
/
{user_id}
JavaScript
import Courier from '@trycourier/courier';

const client = new Courier({
  apiKey: 'My API Key',
});

await client.profiles.update('user_id', { patch: [{ op: 'op', path: 'path', value: 'value' }] });

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

A unique identifier representing the user associated with the requested user profile.

Body

application/json
patch
UserProfilePatch · object[]
required

List of patch operations to apply to the profile.