Add a member to a workspace
POST/v1/account/workspaces/{workspaceId}/members
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.
Add a member to a workspace
curl https://api.cadenya.com/v1/account/workspaces/$WORKSPACE_ID/members \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CADENYA_API_KEY" \
-d '{}'{
"actorId": "actorId",
"profileId": "profileId",
"addedAt": "2019-12-27T18:11:19.117Z",
"email": "email",
"name": "name"
}Returns Examples
{
"actorId": "actorId",
"profileId": "profileId",
"addedAt": "2019-12-27T18:11:19.117Z",
"email": "email",
"name": "name"
}