Autional Autional
API Reference GitHub autional.com →

POST /admin/tenants/{tenant_id}/members/batch-approve

Batch approve join requests for multiple members

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID

Request Body

Schema: dto.BatchApproveRequest

FieldTypeRequiredExampleConstraintsDescription
member_ids array of

string

Yes
role string No

Responses

StatusDescriptionSchema
200Batch approval resultdto.BatchApproveResponseWrapper
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

dto.BatchApproveResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.BatchApproveResultResponse No
message string No
timestamp string No

dto.BatchApproveResultResponse

FieldTypeRequiredExampleConstraintsDescription
failed integer No
succeeded integer No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No