Ownership transfers of a workspace
`workspace.view`. The pending transfer (at most one) and, with `include_closed`, the accepted, declined and cancelled ones, newest first.
openapi/harthelm.yaml at v1.5.0__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.
ws*integerNumeric resource id.
int641 <= valuelimit?integerMaximum number of items per page.
1 <= value <= 20050cursor?stringOpaque cursor from next_cursor of the previous page.
length <= 1024include_closed?booleanAlso list accepted, declined and cancelled transfers.
falseA page of transfers, pending first, then newest first.
application/json- response
next_cursor?stringAbsent on the last page.
items*array<>curl -X GET 'https://console.example.com/api/v1/workspaces/1/owner-transfers'{ "next_cursor": "string", "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspace_id": 1, "workspace_name": "string", "team_id": 1, "team_name": "string", "from": { "id": 1, "name": "string", "email": "string", "picture_url": "string" }, "to": { "id": 1, "name": "string", "email": "string", "picture_url": "string" }, "offered_by": { "id": 1, "name": "string", "email": "string", "picture_url": "string" }, "state": "pending", "provider": "string", "provider_name": "string", "reason": "cancelled", "created_at": "2019-08-24T14:15:22Z", "closed_at": "2019-08-24T14:15:22Z", "closed_by": { "id": 1, "name": "string", "email": "string", "picture_url": "string" } } ]}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.
Remove a member from an organization, or leave it
Organization owners (`org.members`) remove anyone; every member may remove themselves (leave). The user also leaves the organization's teams, loses their workspace roles there, and their workspaces there wait for a new owner; when it was their last organization, their Git connections are deleted. 409 `last-owner`, and `last-admin` when the user is the last admin of one of its teams.