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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The workspace to add the member to (path).
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Body
AddWorkspaceMemberRequest grants a profile access to a workspace. Provide exactly one of profile_id (an existing account profile) or email. When email is given, the backend resolves it to an existing account profile or invites a new one before linking it to the workspace via an actor.
Response
OK
A member of a workspace: the profile granted access plus the actor row that links it to the workspace. Returned by member list/add operations.
The account profile that has access to the workspace.
"profile_01HXKD2E5NQM3T9AYWCFS0AP08"
The actor row linking the profile to the workspace (the junction record).
"actor_01HXKD2E5NQM3T9AYWCFKM4E2P"
Display name of the member's profile.
Email address of the member's profile.
When the member was added to the workspace.