Skip to main content
POST
/
commerce
/
customer
/
b2baccounts
/
{accountId}
/
user
/
{userId}
/
roles
/
{roleId}
Error
A valid request URL is required to generate request examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

accountId
integer<int32>
required
userId
string
required

Unique identifier of the user who receives the role.

roleId
integer<int32>
required

Unique identifier of the role to add.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Response

200

Success