Remove a team member

A soft delete: access is revoked and the row is kept with REMOVED
status.

Checks, in order:

  1. The path tenant equals the caller's tenant_id claim (403).
  2. The caller resolves and is ACTIVE (401).
  3. The caller holds member:remove (403).
  4. The target is not the caller (400 You cannot remove yourself.).
  5. The target exists within that tenant (404 User not found).
  6. The target is not the tenant's owner (400 The tenant owner cannot be removed.).

The Cognito account is disabled and globally signed out before the
status is written, so the user cannot sign in again. An account
absent from the pool does not fail the removal; any other Cognito
failure is 500 and leaves the row untouched. Repeating the call
re-runs the revocation and returns the member unchanged.

Path Params
uuid
required

The tenant. Must equal the caller's tenant_id claim; a mismatch is
403 Invalid tenant id.

uuid
required
Headers
string
required
^\d+\.\d+\.\d+$

The version of the Quant Flow API the request follows, as major.minor.patch (for example 1.0.0). The request is interpreted, and the response shaped, according to that version.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json