跳到主要内容

单个用户进行应用授权

POST 

/appcenter/apps/grantUser

单个用户进行应用授权(需组织管理员权限)

History

VersionChanges
v6.0.?Added in: v6.0.?

Request

Body

    userID stringrequired

    用户ID

    appIDs string[]required

    授权应用列表

Responses

请求成功

Schema

    errorCode string

    错误码

    InvalidParameter参数不合法
    MissingParameter缺少参数
    PermissionDenied无权限
    NotFoundUser用户未找到
    NotFoundApp应用未找到
    NotFoundAppLicenseOrExpired未找到应用授权或授权已过期
    LicenseLimited许可证人数限制
    UnsupportedGrant应用不支持用户授权
    result string

    本次请求结果,SUCCESS|FAIL

    errorMsg string

    本次请求错误信息

    errorData object

    本次请求错误元数据

Loading...