WorkspaceAdminService
Workspace Admin
Add a member to a workspace
Grants a profile access to the workspace by creating (or reactivating) the actor that links the profile to the workspace. Accepts either an existing profile_id or an email to resolve-or-invite. Idempotent for an already-active member. Admin only.
post/v1/account/workspaces/{workspaceId}/members
Path parameters
workspaceIdstring required
Example:workspace_01HXKD2E5NQM3T9AYWCF133E3Q
The workspace to add the member to (path).
Request body
Example request
{
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}Response
OK
Example response
{
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08",
"actorId": "actor_01HXKD2E5NQM3T9AYWCFKM4E2P"
}