Harthelm Docs
REST APIMembers

Remove a member from a team, or leave it

Team admins (`team.members`) remove anyone; every member may remove themselves (leave). The user loses their workspace roles in the team, and the team's workspaces they own wait for a new owner. 409 `last-admin`.

Generated from openapi/harthelm.yaml at v1.5.0
DELETE
/teams/{team}/members/{user}

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

team*integer

Numeric resource id.

Formatint64
Range1 <= value
user*integer

A user's id.

Formatint64
Range1 <= value

Response Body

Removed.

curl -X DELETE 'https://console.example.com/api/v1/teams/1/members/1'
Empty