You need to enable JavaScript to run this app.
文档中心
ArkClaw 企业版

ArkClaw 企业版

复制全文
下载 pdf
UserManagement
RemoveUsersFromDepartment - 移除部门成员
复制全文
下载 pdf
RemoveUsersFromDepartment - 移除部门成员
移除部门成员。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:RemoveUsersFromDepartment​
要执行的操作,取值:RemoveUsersFromDepartment。​
​
Version string 必选 示例值:2026-05-01​
API的版本,取值:2026-05-01。​
​
SpaceId string 必选 示例值:csi-yei8347ta8xmf5qd****​
ArkClaw 空间 ID,可以在 ArkClaw 控制台“空间概览”页面的“基本信息”获取。​
​
DepartmentId string 必选 示例值:2479e108-1a5c-****​
部门 ID。在 ArkClaw 控制台“用户管理 > 部门管理”页面获取。​
​
UserIds.N string[] 必选 示例值:UserIds.1=d4bc986c-6474-****&UserIds.2=45ecd46c-25e2-****​
用户 ID 列表。可以在 ArkClaw 控制台“用户管理”页面获取用户 ID。​
  • 参数 - N:表示用户 ID 的序号,取值范围:1~100。​
  • 多个实例 ID 之间用&分隔。​
  • 传入的无效 ID 将被忽略。​
​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
POST /?Action=RemoveUsersFromDepartment&Version=2026-05-01 HTTP/1.1​
Host: https://arkclaw.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260831T075239Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260831/cn-beijing/arkclaw/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"SpaceId": "csi-yei8347ta8xmf5qd****",​
"DepartmentId": "2479e108-1a5c-****",​
"UserIds": [​
"d4bc986c-6474-****",​
"45ecd46c-25e2-****"​
]​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2026083115524216800710015****",​
"Action": "RemoveUsersFromDepartment",​
"Version": "2026-05-01",​
"Service": "arkclaw",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.SpaceId​
The required parameter SpaceId is not supplied.​
参数 SpaceId 不能为空。​
400​
MissingParameter.DepartmentId​
The required parameter DepartmentId is not supplied.​
参数 DepartmentId 不能为空。​
400​
MissingParameter.UserIds​
The required parameter UserIds is not supplied.​
参数 UserIds 不能为空。​
404​
InvalidSpace.NotFound​
The specified space does not exist.​
指定的 ClawSpace 不存在。​
404​
InvalidResource.NotFound​
The specified resource does not exist.​
指定资源不存在。​
500​
ErrGetClawSpaceFailed​
get claw space failed.​
space 获取失败。​
500​
InternalError​
An internal error has occurred.​
内部错误,请重试。如果多次尝试失败,请提交工单。​
​
​
最近更新时间:2026.09.08 14:33:38
这个页面对您有帮助吗?
有用
有用
无用
无用