docusign / OpenAPI-Specifications

The official Docusign REST APIs Swagger Specifications
MIT License
19 stars 15 forks source link

SignatureAPI - Settings schema doesn't include accountMangementGranular #61

Open visch opened 2 years ago

visch commented 2 years ago

SignatureAPI - Settings schema doesn't include accountMangementGranular

Example request/response from Docusign

GET https://demo.docusign.net/restapi/v2.1/accounts/{account_id_here}/permission_profiles?include=user_count, closed_users, account_management, metadata

{
    "permissionProfiles": [
        {
            "permissionProfileId": "13057704",
            "permissionProfileName": "Account Administrator",
            "modifiedDateTime": "2022-05-19T18:03:21.7170000Z",
            "modifiedByUsername": "",
            "userCount": "2",
            "settings": {
                "allowAccountManagement": "true"
            }
        },
        {
            "permissionProfileId": "13057705",
            "permissionProfileName": "DocuSign Sender",
            "modifiedDateTime": "2022-05-19T18:03:21.7170000Z",
            "modifiedByUsername": "",
            "userCount": "0",
            "settings": {
                "allowAccountManagement": "false"
            }
        },
        {
            "permissionProfileId": "13057706",
            "permissionProfileName": "DocuSign Viewer",
            "modifiedDateTime": "2022-05-19T18:03:21.7170000Z",
            "modifiedByUsername": "",
            "userCount": "0",
            "settings": {
                "allowAccountManagement": "false"
            }
        },
        {
            "permissionProfileId": "13404852",
            "permissionProfileName": "Visch",
            "modifiedDateTime": "2022-07-27T00:09:00.4070000Z",
            "modifiedByUsername": "Visch",
            "userCount": "1",
            "settings": {
                "allowAccountManagement": "false",
                "accountManagementGranular": {
                    "allowManageUsers": "False",
                    "allowManageAdmins": "False",
                    "allowManageSharing": "False",
                    "allowManageEnvelopeTransfer": "False",
                    "allowManageAccountSettings": "True",
                    "allowManageReporting": "True",
                    "allowManageAccountSecuritySettings": "False",
                    "allowManageSigningGroups": "False",
                    "allowManageDocumentRetention": "False",
                    "allowManageConnect": "False",
                    "allowViewUsers": "False",
                    "allowManageGroupsButNotUsers": "False",
                    "allowManageStamps": "False"
                }
            }
        }
    ]
}