List the caller's teams
The caller's teams; cluster admins see every team.
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.
org?stringOnly teams of this organization.
uuidlimit?integerMaximum number of items per page.
1 <= value <= 20050cursor?stringOpaque cursor from next_cursor of the previous page.
length <= 1024A page of teams.
application/json- response
next_cursor?stringAbsent on the last page.
items*array<>curl -X GET 'https://console.example.com/api/v1/teams'{ "next_cursor": "string", "items": [ { "id": 1, "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "name": "string", "role": "admin", "created_at": "2019-08-24T14:15:22Z", "allow_run_as_user": true, "deleting": true, "delete_operation_id": "2a58cc5e-4ba9-418a-8f8b-9007f099696a", "permissions": [ "string" ] } ]}Get a team
One team with the caller's role and permissions. Needs `team.view`; a team the caller may not see answers 404.
Move the team's workspace volumes to the current UID
Cluster admins only. After `security.defaultUid` changed, re-owns every workspace volume of the team that still belongs to another UID: each workspace stops, a root Job runs `chown -R <uid>:0`, `g=u` and setgid on directories on the node that holds the volume, and the workspace starts again under the new UID. Soft-deleted workspaces are included, their volumes still exist. Follow the Operation (kind `workspace.volume_owner`); it fails when a volume could not be re-owned, and that workspace keeps running as its old UID. Answers 409 when no volume of the team needs it or a migration of the team still runs.