You need to enable JavaScript to run this app.
导航
AcceptInvitation - 成员账号接受加入企业组织邀请
最近更新时间:2025.06.23 10:37:25首次发布时间:2024.01.11 17:42:36
我的收藏
有用
有用
无用
无用

成员账号接受加入企业组织邀请

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

AcceptInvitation

要执行的操作,取值:AcceptInvitation。

Version
String

2022-01-01

API的版本,取值:2022-01-01。

InviteId
String

1222222222222

邀请记录Id

LinkId
String

324444444444

邀请链接唯一Id

返回参数

本接口无特有的返回参数。更多信息请见返回结构

请求示例

GET /?Action= AcceptInvitation&Version=2022-01-01 
--header 'Content-Type: application/json' \
-d '{"InviteId": 1111223344556677889","LinkId":1011223344556677999"}'

返回示例

{
    "ResponseMetadata": {
        "RequestId": "02162970384296100000000000000000000ffff0a4f0a5241c825",
        "Action": "AcceptInvitation",
        "Version": "20200101"
    }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
PermissionError

No permission to perform action[%s] on resource %s

无权限,没有对该资源进行该操作的权限

400
InvalidParam

The parameter %v[%v] is invalid.

参数不合法

400
ConcurrentException

concurrent request exception

并发请求异常

400
InvitationInvalidStatus

The invitation record current status can not be [%s]

邀请状态不可变更

400
OrgAccountAlreadyInOrg

The account %d already in org

账号已加入组织

400
OrgNotHadAccountVerification

org not have target account verification

组织不存在目标账号的认证主体

400
AccountNotVerified

account not verified/account not enterprise verified

账号未实名认证/账号未企业认证

400
InvitationIExpired

The invitation is expired

邀请已过期

404
RecordNotExists

record %s not exists

记录不存在

500
InternalError

Unknown internal error: %v

未知错误,根据错误信息判断详情