Skip to main content
Upcoming release — Zylon 1.58These docs are published ahead of release so you can prepare your API integrations. The release image is not yet available. For installations running 1.57, use the 1.57 documentation.
The former /app/user routes and member profile model change in 1.58. See API migration 1.57 → 1.58 before upgrading your integration.
Use the Workspace Members API to manage an account’s membership in a workspace. An account represents a person across Zylon, while a workspace member stores that account’s workspace-specific state and roles. Workspace member responses contain id, org_id, account_id, state, roles, and created_at. id is the workspace-member ID; account_id identifies the linked account and is available without include. Keep both values separate. If you previously saved a legacy user ID for creator comparisons or filters, follow saved user-ID migration. Pass include=Account on supported endpoints to include the related account as account. GET /api/v1/account/{accountId} includes the account’s memberships in workspace_members. For account lists, request the same relationship with GET /api/v1/account?include=WorkspaceMembers. Nested account objects returned by the member endpoints omit it. Valid workspace roles are AppGuest, AppMember, AppAdmin, and AppOwner.
Names and profile pictures belong to the account, not its workspace membership. Update those fields through POST /api/v1/account/{accountId}; use me as the account ID to update the authenticated account. PUT /api/v1/app/member/{wsMemberId} changes only the workspace role.

Get the current workspace member

Use GET /api/v1/app/me to verify your token and workspace-member context.

List workspace members

Create a workspace member

Get or update a workspace member

GET /member/{wsMemberId} accepts me in place of the workspace-member ID. PUT /member/{wsMemberId} requires an explicit workspace-member ID.

Activate or deactivate a workspace member

Both endpoints require an explicit workspace-member ID and return the updated workspace member.

List projects for a workspace member

Use me in place of wsMemberId to list projects for the authenticated workspace member.

Latest artifacts for a workspace member

Use me in place of wsMemberId to get artifacts for the authenticated workspace member.
The response is an array of artifact objects. See Artifacts for the response fields.

Errors and edge cases

  • 400: invalid state, include value, role, or request body.
  • 400: a workspace member cannot activate or deactivate their own membership.
  • 403: insufficient permission to change workspace membership or roles.
  • 404: workspace member or related account not found.