Harthelm Docs
REST APIMembers

Who has access to a workspace

`workspace.view` (the *Access* tab). Every team member and organization owner with their inherited role, plus explicit roles; `role` is the effective one (an explicit role can raise the inherited one, never lower it). The creator and the owner are marked.

Generated from openapi/harthelm.yaml at v1.5.0
GET
/workspaces/{ws}/members

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Path Parameters

ws*integer

Numeric resource id.

Formatint64
Range1 <= value

Query Parameters

limit?integer

Maximum number of items per page.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from next_cursor of the previous page.

Lengthlength <= 1024

Response Body

A page of members, by name.

application/json
  1. response
next_cursor?string

Absent on the last page.

items*array<>
curl -X GET 'https://console.example.com/api/v1/workspaces/1/members'
{  "next_cursor": "string",  "items": [    {      "user": {        "id": 1,        "name": "string",        "email": "string",        "picture_url": "string"      },      "role": "admin",      "explicit_role": "admin",      "inherited_role": "admin",      "inherited_from": "org_owner",      "creator": true,      "owner": true    }  ]}