Skip to main content
PATCH
/
api
/
accounts
/
current
/
members
/
{userId}
/
roles
Error
A valid request URL is required to generate request examples
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer token using an API key (format nl_live_* or nl_test_*)

Path Parameters

userId
string
required

The user ID of the team member

Body

application/json
roles
enum<string>[]
required

New set of roles for the member

Minimum array length: 1
Available options:
owner,
integrator,
ai_architect,
operator,
analyst

Response

Roles updated

success
boolean
Example:

true