FruxonDocs
UsersCore

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.

DELETE
/v1/tenants/{tenant}/users/{user}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

user*string

The tenant user id to remove.

tenant*string

The tenant identifier

Response Body

curl -X DELETE "https://api.fruxon.com/v1/tenants/string/users/string"
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
{
  "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
}