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

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

await client.users.tokens.update('token', { user_id: 'user_id', patch: [{ op: 'op', path: 'path' }] });
This response has no body data.

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

The user's ID. This can be any uniquely identifiable string.

token
string
required

The full token string.

Body

application/json
patch
UsersPatchOperation · object[]
required