Update a customer manager

Update a customer manager's role in an Embedded partner's account.

Path parameters

idstringRequired
The ID of the customer manager whose role you plan to update.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
role_idintegerRequired
The role you plan to assign to the customer manager.
permitted_workspace_idslist of integersOptional

The list of workspace IDs where the customer manager should have the specified role, according to the role_id you provide. If omitted or set to an empty array ([]), this parameter grants the customer manager the specified role in all workspaces in the Embedded partner’s account.

Response

Successful reply
resultobject

Errors