Skip to main content

Remove Tenant Member

Required role: admin or higher.

Remove a user from the acting tenant. This drops their role now, but if the identity provider still grants them access they are re-added at the default role on their next login. Revoke access at the provider to disable access completely.

Path Parameters
user_id uuid REQUIRED

User identifier

Responses
200

Member removed

403

Caller's role is below the required role

Schema OPTIONAL
details

Detailed error metadata. The contents of this field is determined by error_code.

error_code string

Error code is a string that specifies this error type.

message string

Human-readable error message.

404

User is not a member

Schema OPTIONAL
details

Detailed error metadata. The contents of this field is determined by error_code.

error_code string

Error code is a string that specifies this error type.

message string

Human-readable error message.

500
Schema OPTIONAL
details

Detailed error metadata. The contents of this field is determined by error_code.

error_code string

Error code is a string that specifies this error type.

message string

Human-readable error message.