Member ManagementIntroduction

Member Management

The member management APIs manage the members of a Space. Each API maps to an action on the console’s Members page, with the same permissions and business rules as the console.

Console actionAPINotes
Members listList Members POST /openapi/v1/members/listExact lookup by email; filter by status and role
Add MemberAdd Members POST /openapi/v1/members/addNew members are To Be Activated and receive an invitation email
EditEdit Member POST /openapi/v1/members/modifyChange name and roles
Enable / DisableEnable/Disable Member POST /openapi/v1/members/change-status
RemoveRemove Member POST /openapi/v1/members/deleteOnly Disabled members can be removed
Invite AgainInvite Member Again POST /openapi/v1/members/inviteOnly To Be Activated members can be invited again

Field mapping to the console

API fieldValueShown in console as
RolesadminAdministrator (the Space owner is also returned as admin)
senderSender
StatusenabledEnabled
pending_activationTo Be Activated
disabledDisabled
CreatedAtRFC3339 (UTC)Time Added

Common rules

  • Scope of operation: The APIs operate on the Space the access_token belongs to; Add Members can target another Space where the app is installed via SpaceId.
  • Operator: The authorized user in authorization_code mode; in client_credentials mode, specify it with X-Operator-User-Id (optional for Add Members, in which case the app acts on its own behalf). The operator must be a Space administrator.
  • Permission hierarchy: When editing, enabling/disabling, or removing members, the owner can operate on any member; other administrators can only operate on Senders.
  • Locating a member: Edit, Enable/Disable, Remove, and Invite Again all identify the member by Email.
  • User ID: A member gets a UserId only after joining the Space; UserId is an empty string for To Be Activated members.
  • Required Scope: member:manage.