Autional Autional
API Reference GitHub autional.com →

POST /internal/tenant/{tenant_id}/erase-user

Perform GDPR erasure on a user under a tenant: anonymize member records, soft-delete invitations, hard-delete application roles

Tenant Service - Internal None application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID

Request Body

Schema: dto.EraseUserRequest

FieldTypeRequiredExampleConstraintsDescription
user_id string No

Responses

StatusDescriptionSchema
200Erasure successfulgitee_com_linmes_authms_base_dto.SimpleResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthorizedgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No