v1

latestOpenAPI 3.1.02026-07-2617125852.3 KB
WorkspaceGroupMember

Get the current workspace admin workspace

Get the details of the admin workspace of the current workspace

get/api/v2/workspace-group-members/admin

Response

Default Response

workspace_namestring required

The workspace name of the admin workspace. When the current workspace has no admin workspace, the workspace name will be "Undefined".

has_admin_workspaceboolean required

Whether the current workspace has an admin workspace

workspace_group_member_idstring

The id of the workspace group member. You can use it to leave the admin workspace by calling the DELETE /workspace-group-members/:id endpoint

Example response

{
  "workspace_name": "My Workspace",
  "has_admin_workspace": true,
  "workspace_group_member_id": "019f94cd-afaa-7d74-8755-d9bbdb200049"
}