A AuthMS API Wiki API Reference iam.tianv.com →

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

批量通过多个成员的加入申请

租户服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 租户ID

Request Body

Schema: dto.BatchApproveRequest

FieldTypeRequiredExampleConstraintsDescription
member_ids array of

string

Yes
role string No

Responses

StatusDescriptionSchema
200批量审批结果dto.BatchApproveResponseWrapper
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
403权限不足gitee_com_linmes_authms_base_dto.SimpleResponse
404资源未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_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