Autional Autional
API Reference GitHub autional.com →

POST /admin/tenants/{tenant_id}/members/{member_id}/reject

Reject a member's join request

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID
member_id path string Yes Member ID

Request Body

Schema: dto.RejectMemberRequest

FieldTypeRequiredExampleConstraintsDescription
reason string Yes

Responses

StatusDescriptionSchema
200Rejectedgitee_com_linmes_authms_micro-services_tenant-service_internal_handler_dto.SimpleResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Resource not foundgitee_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

gitee_com_linmes_authms_micro-services_tenant-service_internal_handler_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No