Removes a member and immediately revokes their tenant access.
Removes the membership, personal API keys, and per-agent grants in one transaction. If the member was the sole explicit Admin on an agent, the acting Admin/Owner is assigned first. Owners can only be removed by another Owner, and the final Owner cannot be removed.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The tenant user id to remove.
The tenant identifier
Response Body
curl -X DELETE "https://api.fruxon.com/v1/tenants/string/users/string"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Lists all users in the workspace.
Returns the tenant workspace members (employees of the customer org), not chat end-users — for those see `GET /chatUsers`. Results are paginated; pass the returned `nextPageToken` back via `paging.pageToken` to fetch the next page. Visible to any authenticated workspace member; mutations like `PATCH /users/{user}` are admin-only.
Retrieves a specific user by ID.
Looks up a single workspace member by their tenant user id. The id matches the `name` field returned by `GET /users`. Returns 404 if the user is not a member of the caller's workspace — this endpoint does not cross tenant boundaries. Use `PATCH /users/{user}` to mutate role or profile fields (admin-only).