Skip to content

Remove a member

DELETE /company/users/{userId}
  • Scope users:admin
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

Removes access to the company; the account itself is not deleted. You cannot remove yourself, and the last OWNER cannot be removed.

Path parameters

  • userId string required

Headers

  • Idempotency-Key string

    Replays the same 2xx response (24 h)

Response

200

Member removed

  • success boolean always present

Errors

  • 400

    Entry refused

    cannot_remove_self
  • 401

    Not authenticated

  • 403

    Insufficient scope/role, or outside your company

  • 404

    This user is not a member of the company

    not_found
  • 409

    Last OWNER of the company

    last_owner