Members
Remove a member from the workspace
Deletes the membership AND revokes all of the user's sessions (sessions pin the tenant — without revocation an active session would keep full access). Guards: self-removal is blocked (another member must remove you) and the last member cannot be removed. ADR-081.
delete/v1/members/{user_id}
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/v1/members/{user_id}
- Auth: HTTP bearer
Path parameters
user_idstring required
Response
Member removed and sessions revoked