无法创建新用户(使用 API 概述中提到的 JWT 授权流程和范围)

Can't create new user (using the JWT Grant flow and scopes that mentioned in API overview)

管理员 API 创建另一个用户时遇到问题。我在 /userinfo 响应中没有 organization_id 属性。我需要它通过我的应用程序创建新用户。在那里我也使用推荐的范围。

我在调用 /userinfo 后得到的这个响应

{
    "sub": "xxx",
    "name": "Some Name",
    "given_name": "Name",
    "family_name": "Name",
    "created": "2022-02-02T16:38:29.457",
    "email": "some.email@gmail.com",
    "accounts": [
        {
            "account_id": "xxx",
            "is_default": true,
            "account_name": "Name",
            "base_uri": "https://demo.docusign.net"
        }
    ]
}

我在使用 Quickstart App 时也遇到了同样的问题。我无法通过此应用创建用户。因为漏了一个organization_id 属性。 Quickstart App error

谢谢。

#docusignapi

要使用管理员 API,您的帐户必须有一个组织。

创建组织后 - 您将拥有一个 organizationId 用于此 API 调用。

How to create an organization for your DocuSign account.