Fail to update user's “Manage Account” permission through “Modify User Account Settings” API

后端 未结 2 1864
野趣味
野趣味 2021-01-29 02:22

We are using DocuSign REST API v2, and we are using the \"Modify User Account Settings\" method

Endpoint: /accounts/{accountId}/users/{userId}/settings

2条回答
  •  没有蜡笔的小新
    2021-01-29 02:42

    Note the User Settings doc permissions comment:

    Authorization required for changing the canManageAccount permission: Admin & not setting for self

    So I would first check that the API user is itself an Administrator for the account. Check this by using the loginInformation method with login_settings=all

    and looking for

    ....
    "loginUserSettings": [
        {
          "name": "canManageAccount",
          "value": "true"
        },
    

    in the response.

    Also check that you are not doing a SOBO request for the Modify User Account Settings call.

提交回复
热议问题