Add collaborator to customer workspace
Add a member to the specified Embedded customer workspace.
SPECIFY ROLES FOR DIFFERENT ENVIRONMENTS
You must provide eitherrole_name
or env_roles
in the payload. role_name
only assigns a role in the dev environment. env_roles
to specify the environment type and role for other environments. Workato does not support a mixed approach to assigning roles. This means that when you combine the env_roles
and role_name
in the payload, Workato ignores the role_name
and only assigns the roles specified by the env_roles
object.
ADD AN EXISTING USER
You must provide theoauth_id
and omit the role_name
,external_id
,time_zone
, and name
parameters to add an existing Workato user to an embedded workspace. Path parameters
managed_user_id
Embedded customer ID (external ID). The External ID must be URL encoded and prefixed with an E
. For example, EA2300
.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
Full name of the member.
oauth_id
Identifier used for OAuth.
role_name
Membership role name.
external_id
External identifier for the member.
time_zone
Time zone name of the member.
env_roles
Environment roles.
Response
Success reply
id
Member ID.
role_name
Membership role name.
time_zone
Time zone name of the member.
grant_type
Type of role granted.
name
Name of the member.
email
Email address of the member.