{"openapi":"3.1.0","info":{"title":"Docusign Admin API","version":"v2.1"},"paths":{"/v2/organizations/{organizationId}/assetGroups/accountClone":{"post":{"operationId":"accountCloning_OrganizationProvisionAssetGroup_CloneAssetGroupAccount","summary":"Clone an existing Docusign account.","description":"Clones an existing Docusign account. Cloning an account copies the plan items and eSignature settings. Users, templates, and permission profiles are _not_ copied into the target account. The new account will linked to the same organization.\n\nIn the request body, specify the source account you are cloning by its ID. You can get the IDs for your organization's asset group accounts using the [getAssetGroupAccounts](/docs/admin-api/reference/accountprovisioning/accountcloning/getassetgroupaccounts/) endpoint.\n\nYou also need to specify information about the new target account, including the name, location, and administrator. To set the location, provide either the `countryCode` or `region` properties. (If both are specified, the `region` value will be used.) When testing in the developer environment, the region will always be `NA`.\n\nThe request body looks like this:\n\n```json\n{\n    \"sourceAccount\": {\n        \"id\": \"624e3e00-xxxx-xxxx-xxxx-43918c520dab\"\n    },\n    \"targetAccount\": {\n        \"name\": \"My Cloned Account\",\n        \"admin\": {\n            \"firstName\": \"Francis\",\n            \"lastName\": \"Beagle\",\n            \"email\": \"francis@example.com\"\n        },\n        \"region\": \"NA\"\n    }\n}\n```\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization. The administrator for the target account must also be an organization admin.\n- The source account must be on the same plan as your contract.\n- The source account must be an asset group account. An asset group is a set of modules, products, plans, and charges purchased for your organization. An asset group account is an account that has been linked to an asset group.\n- Your organization must be set up for account cloning. For more information, email [self-serve-provisioning-enablement@docusign.com](mailto:self-serve-provisioning-enablement@docusign.com).\n\n[Required scopes](/docs/admin-api/admin101/auth/): `asset_group_account_clone_write`.\n\n### Next steps\n\n- See [how to use this endpoint to clone an account](/docs/admin-api/how-to/clone-account/).","tags":["accountCloning"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupAccountClone"}}}}},"requestBody":{"description":"This endpoint expects an object: `AssetGroupAccountClone`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupAccountClone"}}}}}},"/v2/organizations/{organizationId}/assetGroups/{assetGroupId}/accountClones/{assetGroupWorkId}":{"get":{"operationId":"accountCloning_OrganizationProvisionAssetGroup_GetAssetGroupAccountClone","summary":"Gets information about a single cloned account.","description":"Gets information about a cloned account by the `assetGroupWorkId`.\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization.\n\n[Required scopes](/docs/admin-api/admin101/auth/): `asset_group_account_clone_read`.","tags":["accountCloning"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assetGroupId","in":"path","description":"The ID of the asset group.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assetGroupWorkId","in":"path","description":"The GUID representing the asset group account clone ID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"include_details","in":"query","description":"When **true,** include additional details about the cloned account. The default value is **false.**","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupAccountClone"}}}}}}},"/v2/organizations/{organizationId}/assetGroups/accountClones":{"get":{"operationId":"accountCloning_OrganizationProvisionAssetGroup_GetAssetGroupAccountClonesByOrgId","summary":"Gets all asset group account clones for an organization.","description":"Retrieves all the cloned accounts for an organization.\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization.\n\n[Required scopes](/docs/admin-api/admin101/auth/): `asset_group_account_clone_read`.","tags":["accountCloning"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"since_updated_date","in":"query","description":"Use this parameter to retrieve only account clones that were created on or after a specified date.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"include_details","in":"query","description":"When **true,** include additional details for the asset group account clones. The default value is **false.**","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupAccountClones"}}}}}}},"/v2/organizations/{organizationId}/assetGroups/accounts":{"get":{"operationId":"accountCloning_OrganizationProvisionAssetGroup_GetAssetGroupAccountsByOrg","summary":"Get asset group accounts for an organization.","description":"Returns a list of asset group accounts for an organization.\n\nAn asset group is a set of modules, products, plans, and charges purchased for your organization. An asset group account is an account that has been linked to an asset group.\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `asset_group_account_read`.\n\n### Next steps\n\n- See [how to use this endpoint in your chosen programming language](/docs/admin-api/how-to/clone-account/).","tags":["accountCloning"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"compliant","in":"query","description":"When **true,** only compliant accounts are returned and account responses do not include the `compliant` field. The default value is **false.**","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupAccountsResponse"}}}}}}},"/v2/organizations/{organizationId}/assetGroups/accountCreate":{"post":{"operationId":"accountCreation_OrganizationSubAccount_CreateSubAccount","summary":"Create account using plan and modules","description":"Creates a new Docusign account within an organization.\n\nIn the request body, specify the subscription and plan IDs for the new account. You can get these IDs through the [GetOrganizationPlanItems](/docs/admin-api/reference/accountprovisioning/accountcreation/getorganizationplanitems/) endpoint.\n\nYou also need to specify information about the new target account, including the name, location, and administrator. To set the location, provide the `countryCode` property. When you are testing in the developer environment, the value of `countryCode` will always be `US`.\n\nThe request body looks like this:\n\n```json\n{\n   \"subscriptionDetails\": {\n       \"id\": \"'${SUBSCRIPTION_ID}'\",\n       \"planId\": \"'${PLAN_ID}'\",\n       \"modules\": []\n   },\n   \"targetAccount\": {\n       \"name\": \"'${ACCOUNT_NAME}'\",\n       \"countryCode\": \"US\",\n       \"admin\": {\n           \"email\": \"'${EMAIL_ADDRESS}'\",\n           \"firstName\": \"'${FIRST_NAME}'\",\n           \"lastName\": \"'${LAST_NAME}'\",\n           \"locale\": \"en\"\n       }\n   }\n}\n```\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization.\n\n[Required scopes](/docs/admin-api/admin101/auth/): `organization_sub_account_write`","tags":["accountCreation"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription.Provision.Model.AssetGroupWorkResult"}}}}},"requestBody":{"description":"This endpoint expects an object: `SubAccountCreateRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountCreateRequest"}}}}}},"/v2/organizations/{organizationId}/planItems":{"get":{"operationId":"accountCreation_OrganizationSubAccount_GetOrganizationPlanItems","summary":"Get information about plan items within an organization.","description":"Gets the plan items and subscription information for an organization.\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization\n\n[Required scopes](/docs/admin-api/admin101/auth/): `organization_sub_account_read`","tags":["accountCreation"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationSubscriptionResponse"}}}}}}}},"/v2/organizations/{organizationId}/assetGroup/{assetGroupId}/subAccountCreated/{assetGroupWorkId}":{"get":{"operationId":"accountCreation_OrganizationSubAccount_GetSubAccountCreateProcessByAssetGroupWorkId","summary":"Get a single account creation process.","description":"Gets information about an account creation process by the `assetGroupId`.\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization\n\n[Required scopes](/docs/admin-api/admin101/auth/): `organization_sub_account_read`","tags":["accountCreation"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assetGroupId","in":"path","description":"The ID of the asset group.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"assetGroupWorkId","in":"path","description":"The ID of the asset group account clone request.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"include_details","in":"query","description":"When true, include details for the asset group account clone.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountCreateWorker"}}}}}}},"/v2/organizations/{organizationId}/subAccountsCreated":{"get":{"operationId":"accountCreation_OrganizationSubAccount_GetSubAccountCreateProcessesByOrgId","summary":"Get ongoing account creation processes","description":"Get ongoing account creation processes by `organizationId`.\n\nTo call this endpoint:\n\n- You must be an administrator for the specified organization\n\n[Required scopes](/docs/admin-api/admin101/auth/): `organization_sub_account_read`","tags":["accountCreation"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"since_updated_date","in":"query","description":"Specifies that the request will only return information for accounts that were created after the date passed in the format YYYY-MM-DD.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"include_details","in":"query","description":"When `true`, include additional details about the account creation process. The default value is `false`.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubAccountCreateWorkerResponse"}}}}}}},"/v2/organizations/{organizationId}/exports/account_settings":{"post":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_AccountCompare","summary":"Creates a new account settings export request.","description":"Creates a new account settings export request.\n\nTo learn more about exporting account settings,\nsee [Account Settings Export](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=kfj1583359164049.html)\nin the Docusign Admin Guide.\n\nYou can export settings for up to 40 accounts at a time.\n\nSpecify the accounts whose settings you are requesting as JSON in the body of the request, like this:\n\n```json\n{\n  \"accounts\":\t[\n      { \"account_id\": \"9ca037f4-xxxx-xxxx-xxxx-212e57d4f22e\"},\n      { \"account_id\": \"624e3e00-xxxx-xxxx-xxxx-43918c520dab\"}\n\n  ]\n}\n```\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_write`.\n\n### Related topics\n\n- [Account Settings import](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=nwl1583359167434.html) guide\n- [Account Settings Export](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=kfj1583359164049.html) guide","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationAccountsRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_GetAccountCompare","summary":"List account settings export requests","description":"Returns a list of pending and completed account settings export requests.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/exports/account_settings/{exportId}":{"delete":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_DeleteByAccountSettingsExportId","summary":"Deletes a single Account Settings Export request","description":"Deletes a single account settings export request.\nAny data associated with the request is also deleted.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"exportId","in":"path","description":"The export ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkExports_OrganizationExport_OrganizationExport_DeleteByAccountSettingsExportId_Response_200"}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_GetAccountSettingsExportByExportId","summary":"Get account settings export results","description":"Returns the results for a single account settings export request.\n\nGiven an export ID, this method returns the results of an account settings export request.\nTo get a list of all the export requests, use `getAccountSettingsExports`.\n\nThe results are available through a URL that\nyou can access through the `results` property of the response.\nFor example, to get the URL of first result you might use\n`results[0].url`\n\nThe settings export is formatted like this:\n\n```json\n{\n  \"accounts\": [\n    {\n      \"account_id\": \"9ca037f4-xxxx-xxxx-xxxx-212e57d4f22e\",\n      \"name\": \"The Happy Company\",\n      . . .\n    },\n    {\n      \"account_id\": \"624e3e00-xxxx-xxxx-xxxx-43918c520dab\",\n      \"name\": \"LoanCo\",\n      . . .\n    }\n  ],\n  \"settings\": [\n    . . .\n    {\n      \"category\": \"Signing\",\n      \"name\": \"SignerCanSignOnMobile\",\n      \"account_values\": [\n        {\n          \"account_id\": \"9ca037f4-xxxx-xxxx-xxxx-212e57d4f22e\",\n          \"value\": \"true\",\n          \"rights\": \"editable\"\n        },\n        {\n          \"account_id\": \"624e3e00-xxxx-xxxx-xxxx-43918c520dab\",\n          \"value\": \"true\",\n          \"rights\": \"editable\"\n        }\n      ]\n    },\n    . . .\n  ]\n}\n```\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"exportId","in":"path","description":"The export ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/account_settings":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportAccountSettings_Post","summary":"Creates a new account settings import request.","description":"Creates a new account settings import request.\n\nThe request for this method consists of\nthe contents of a CSV\nfile.\n\nYou can export your current settings as a CSV file with\n[AccountSettingsExport: createAccountSettingsExport](/docs/admin-api/reference/bulkoperations/accountsettingsexport/createaccountsettingsexport/)\nand use it as the basis\nof the changes you want to import.\n\nTo learn more about the format\nof a settings CSV file, see\n[Preparing a CSV for account settings import](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=nwl1583359167434.html)\nin the Docusign Admin Guide.\n\nYou can import settings for up to 40 accounts at a time.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_write`.\n\n### Related topics\n\n- [Account Settings import](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=nwl1583359167434.html) guide\n- [Account Settings Export](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=kfj1583359164049.html) guide","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationAccountSettingsImportResponse"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file.csv":{"type":"string","format":"binary","description":"CSV file."}},"required":["file.csv"]}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkImports_OrganizationImport_OrganizationImportAccountSettings_Get","summary":"List bulk account settings import requests","description":"Returns the details and metadata for Bulk Account Settings Import requests in the organization.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationAccountSettingsImportResponse"}}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/account_settings/{importId}":{"delete":{"operationId":"bulkImports_OrganizationImport_OrganizationImportAccountSettings_DeleteById","summary":"Deletes a Bulk Account Settings Import request","description":"Deletes a single account settings import request.\nAny data associated with the request is also deleted.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"importId","in":"path","description":"The import ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkImports_OrganizationImport_OrganizationImportAccountSettings_DeleteById_Response_200"}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkImports_OrganizationImport_OrganizationImportAccountSettings_GetById","summary":"Get bulk account settings import request","description":"Returns the details/metadata for a Bulk Account Settings Import request.\n\nGiven an import ID, this method returns the results of an account settings import request.\nTo get a list of all the import requests, use `getAccountSettingsImports`.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"importId","in":"path","description":"The import ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationAccountSettingsImportResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/accounts/{accountId}/imports/bulk_users/add":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportSingleAccountUsers_Insert","summary":"Import users to single account","description":"Import request for adding a user to a single account within the organization.\nThis method lets you upload user information without requiring an AccountId column.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file.csv":{"type":"string","format":"binary","description":"CSV file."}},"required":["file.csv"]}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/accounts/{accountId}/imports/bulk_users/update":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportSingleAccountUsers_Update","summary":"Update users for single account","description":"Import request for updating users for a single account\nwithin the organization.\n\nThis method lets you upload user information without requiring an `AccountId` column.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file.csv":{"type":"string","format":"binary","description":"CSV file."}},"required":["file.csv"]}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/exports/user_list":{"post":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_Insert","summary":"Creates a user list export request.","description":"Create a user list export request.\n\nThis method initiates a user list export request. You specify the type of export request as JSON in the body of method, like this:\n\n```json\n{\n    \"type\": \"organization_memberships_export\"\n}\n```\n\nThe export request type is one of three values:\n\n| Value | Description |\n| --- | --- |\n| `organization_memberships_export` | Every user in every account in the organization. Users in multiple accounts will appear more than once. |\n| `organization_domain_users_export` | All users of the reserved domains. |\n| `organization_external_memberships_export` | Users whose email address domain is _not_ linked to the organization. |\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.\n\n### Next steps\n\n- See [how this endpoint is used to bulk export user data](/docs/admin-api/how-to/bulk-export-users/).","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_Get","summary":"Returns a list of pending and completed export requests.","description":"Returns a list of pending and completed export requests.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/exports/user_list/{exportId}":{"delete":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_DeleteByExportId","summary":"Deletes a single User List Export request","description":"Deletes a single user list export request.\nUse this method to delete pending or completed user export requests.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"exportId","in":"path","description":"The export ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkExports_OrganizationExport_OrganizationExport_DeleteByExportId_Response_200"}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkExports_OrganizationExport_OrganizationExport_GetByExportId","summary":"Returns the results for single user list export request.","description":"Returns the results for single user list export request.\n\nGiven an export ID, this method returns the results of a single user list export request.\nTo get a list of all the export requests, use `getUserListExports`.\n\nNote that the `metadata_url` property of the response from `createUserListExport` is a read-to-use HTTP GET request to get the status.\n\nThe results are available through a URL that\nyou can access through the `results` property of the response.\nFor example, to get the URL of the first result you might use\n`results[0].url`\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.\n\n### Next steps\n\n- See [how this endpoint is used to bulk export user data](/docs/admin-api/how-to/bulk-export-users/).","tags":["bulkExports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"exportId","in":"path","description":"The export ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationExportResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users/add":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_Insert","summary":"Creates a request to import new users into an account.","description":"Creates a request to import new users.\n\nYour CSV import file is made up of a header row with the column headers and a row of user or account data for each user you want to add to an account. Only new users can be imported. Any changes to existing users will be ignored. To make changes to existing users, use [UserImport:updateBulkUserImports](/docs/admin-api/reference/bulkoperations/userimport/updatebulkuserimports/).\n\nTo ensure your CSV file is properly formatted, follow the requirements in the Support article [Build a CSV to Bulk Add Users](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=wec1593211169952.html). You can download an example file from the Add Users dialogue in the Admin UI.\n\nYou can add up to 2,000 users to an account and include up to 50 accounts per import. The maximum number of users per import is 8,000.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\n### Next steps\n\n- See an [example of adding users via bulk import in your chosen programming language](/docs/admin-api/how-to/add-users-bulk-import/).","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file.csv":{"type":"string","format":"binary","description":"CSV file."}},"required":["file.csv"]}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users/close_external":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_CloseExternal","summary":"Closes external memberships.","description":"Closes external memberships.\n\nExternal memberships are users who have an email address at a verified domain but do not belong to the organization.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users/close":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_Close","summary":"Creates a request to close the accounts of existing users.","description":"Creates a request to close the accounts of existing users.\n\nGiven a CSV list of users, close their accounts.\n\nYour CSV import file is made up of a header row with the column headers and a row of user or account data for each user whose account you want to close.\n\nTo ensure your CSV is properly formatted, use the\n[Sample Bulk Update CSV file](https://admin.docusign.com/static-resources/organization-user-update-import.csv)\nas a template. The following table describes the columns.\n\n| Column | Required | Description |\n| --- | --- | --- |\n| AccountID | yes | The 32-character API account ID of the user's account in your organization. You can find this value in the API and Keys section of the Admin area of the account. |\n| AccountName | | The name of the user's account in your organization. The account name must match the account ID provided. |\n| FirstName | yes | The user's first name. |\n| LastName | yes | The user's last name. |\n| UserEmail | yes | The user's complete email address. |\n| PermissionSet | yes | The user's permission set. The PermissionSet value must match an existing permission set for the account. This value is not case sensitive. |\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file.csv":{"type":"string","format":"binary","description":"CSV file."}},"required":["file.csv"]}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users/{importId}":{"delete":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_DeleteById","summary":"Deletes a specific user import request.","description":"Deletes a specific import request and its results.\n\nTo delete a user, see [closeBulkUserImportRequest](/docs/admin-api/reference/bulkoperations/userimport/closebulkuserimportrequest/).\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"importId","in":"path","description":"The import ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkImports_OrganizationImport_OrganizationImportUsers_DeleteById_Response_200"}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_GetById","summary":"Returns the details of a single user import request.","description":"Returns the details of a single user import request.\n\nUse this method to check the status of the request by looking at the `status` property of the response.\nOnce the status becomes `completed` (or fails), use this method to get the details.\n\nTo get a list of all of the user import requests, use `getBulkUserImportRequests`.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"importId","in":"path","description":"The import ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users/{importId}/results_csv":{"get":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_GetCSVResults","summary":"Get CSV file of user import request","description":"Returns the contents of the CSV file\nassociated with a user import request.\n\nThe results have an additional column,\n`ProcessingResults`,\nthat describes the results of importing that row.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"importId","in":"path","description":"The import ID Guid for the request","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users":{"get":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_Get","summary":"Gets a list of all of the user import requests.","description":"Gets a list of all of the user import requests.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/imports/bulk_users/update":{"post":{"operationId":"bulkImports_OrganizationImport_OrganizationImportUsers_Update","summary":"Bulk updates information for existing users.","description":"Bulk updates information for existing users.\n\nYour CSV import file is made up of a header row with the column headers and a row of user or account data for each user you want to add to an account.\n\n**Update limit:** You can update up to 2,000 users on an account and include up to 50 accounts per import. The maximum number of updated users per import is 8,000.\n\nThis method requires the following HTTP headers:\n\n| Header | Value |\n| --- | --- |\n| Content-Type | `text/csv` |\n| Content-Disposition | `filename=filename.csv` |\n\nTo ensure your CSV is properly formatted, use the\n[Sample Bulk Update CSV file](https://admin.docusign.com/static-resources/organization-user-update-import.csv)\nas a template. The following table describes the columns.\n\nNote that the columns for bulk adding users and bulk update users are slightly different.\nThe update CSV file requires an `APIUserName` column, and does not have an `AutoActivate` column.\n\n| Column | Required | Description |\n| --- | --- | --- |\n| AccountID | yes | The 32-character API account ID of the user's account in your organization. You can find this value in the API and Keys section of the Admin area of the account. |\n| AccountName | | The name of the user's account in your organization. The account name must match the account ID provided. |\n| FirstName | yes | The user's first name. |\n| LastName | yes | The user's last name. |\n| UserEmail | yes | The user's complete email address. |\n| PermissionSet | yes | The user's permission set. The PermissionSet value must match an existing permission set for the account. This value is not case sensitive. |\n| UserTitle | | The user's job title. |\n| CompanyName | | The user's company name. |\n| Group | | The user's assigned groups. The Group values must match existing Group names for the account. Additional Group columns can be added to the file to add users to more than one group. You do not need to add users to the Everyone group, since all new users are automatically added to that group. |\n| AddressLine1 | | The user's address, first line. |\n| AddressLine2 | | The user's address, second line. |\n| City | | The user's city name. |\n| StateRegionProvince | | The user's regional location. |\n| PostalCode | | The user's postal code. |\n| Phone | | The user's phone number. |\n| Language | | The user's display language for their Docusign account. Must be one of:<ul><li>Chinese Simplified: `zh_CN`</li><li>Chinese Traditional: `zh_TW`</li><li>Dutch: `nl`</li><li>English: `en`</li><li>French: `fr`</li><li>German: `de`</li><li>Italian: `it`</li><li>Japanese: `ja`</li><li>Korean: `ko`</li><li>Portuguese: `pt`</li><li>Portuguese Brazil: `pt_BR`</li><li>Russian: `ru`</li><li>Spanish: `es`</li></ul> |\n| LoginPolicy | | The user's login policy. Valid values include the following:<ul><li>Column left blank = The user is created with no policy assigned.</li><li>FedAuthRequired = The user must log in with an Identity Provider.</li><li>FedAuthBypass = The user may log in with an Identity Provider or their Docusign username and password.</li></ul>For more information on login policies, see [Setting User Login Policy](https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=zah1583359147774.html). |\n| AutoActivate | | For domain users, new users can be activated automatically for domain accounts using SSO by setting the value to **true.** The user is activated automatically once the import is complete. Memberships activated in this way do not receive an activation email. |\n\n## Updating user email addresses\n\nChanging a user's email address should be done carefully. The user's email address is used to log in to Docusign and receive documents to sign from others.\nOnce changed, existing documents that were sent or received:\n\n- Will still appear in the user's documents list.\n- Notifications about these documents will be sent to the new email address. If someone sends a new document to the old email address:\n- Docusign will send a notification to the old address.\n- It will not appear in the documents list of the account.\n\nThis change of email address will be applied to all of the user's account memberships.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["bulkImports"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationImportResponse"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file.csv":{"type":"string","format":"binary","description":"CSV file."}},"required":["file.csv"]}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/identity_providers":{"get":{"operationId":"identityProviders_Organization_GetIdentityProviders","summary":"Returns the list of identity providers for an organization.","description":"Returns the list of identity providers for an organization.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `identity_provider_read`.","tags":["identityProviders"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityProvidersResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/connect":{"post":{"operationId":"orgConnect_OrganizationConnect_CreateOrganizationConnectConfig","summary":"Adds a Connect configuration for an organization","description":"Creates a new [Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/) using the definition provided in the request body. See [Create an Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/#create-an-organization-level-connect-configuration) for an example definition.\n\nRequired scopes: `connect_org_config_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization within which the Organization-Level Connect configuration will be created.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectConfigurationDetailsResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `connectRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectConfigurationRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"orgConnect_OrganizationConnect_GetOrganizationConnectConfigs","summary":"List Organization-Level Connect configurations","description":"Returns an array of the definitions of each [Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/) created for an organization.\n\nRequired scopes: `connect_org_config_read_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization owning the Organization-Level Connect configurations.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"sortBy","in":"query","description":"Sorts configurations by the specified definition field in ascending order. Defaults to `name`, if not set.","required":false,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"Returns only configurations with the specified `siteId`.","required":false,"schema":{"type":"integer"}},{"name":"accountId","in":"query","description":"Returns only configurations that apply to the specified `accountId`.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"allowEnvelopePublish","in":"query","description":"Returns only configurations that do (true) or do not (false) allow [envelope publishing](/docs/esign-rest-api/reference/envelopes/envelopepublish/).","required":false,"schema":{"type":"boolean"}},{"name":"q","in":"query","description":"Returns only configurations that have the `connectId` or `name` provided in the query parameter.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectConfigsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/connect/secret/{keyId}":{"delete":{"operationId":"orgConnect_OrganizationConnectHmac_DeleteConnectHmacSecret","summary":"Delete Connect HMAC secret","description":"Deletes the existing [HMAC](/platform/webhooks/connect/hmac/) secret with the provided ID for the [Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/) provided in the request body.\n\nRequired scopes: `connect_org_hmac_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization within which the HMAC secret will be deleted.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"keyId","in":"path","description":"The GUID ID of the HMAC secret key to be deleted.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectHmacSecretsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/connect/{connectId}":{"delete":{"operationId":"orgConnect_OrganizationConnect_DeleteOrganizationConnectConfig","summary":"Deletes information about an organization-level Connect configuration","description":"Deletes the specified [Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/) from an organization.\n\nRequired scopes: `connect_org_config_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization within which the Organization-Level Connect configuration will be deleted.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"connectId","in":"path","description":"The GUID ID of the configuration to delete.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgConnect_OrganizationConnect_DeleteOrganizationConnectConfig_Response_200"}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"orgConnect_OrganizationConnect_GetOrganizationConnectConfig","summary":"Returns an organization-level Connect configuration","description":"Returns the definition of the specified [Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/) for an organization.\n\nRequired scopes: `connect_org_config_read_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization owning the Organization-Level Connect configuration.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"connectId","in":"path","description":"The GUID ID of the Organization-Level Connect configuration.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectConfigurationDetailsResponse"}}}}},"security":[{"accessCode":[]}]},"put":{"operationId":"orgConnect_OrganizationConnect_UpdateOrganizationConnectConfig","summary":"Updates an organization-level Connect configuration","description":"Updates the specified [Organization-Level Connect configuration](/platform/webhooks/connect/org-level-connect/) to the values provided in the request body definition. See [Enable OAuth for Connect](/platform/webhooks/connect/validation-and-security/oauth-connect/#enable-oauth-for-connect) for an example Connect definition.\n\nRequired scopes: `connect_org_config_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization where the Organization-Level Connect configuration is defined.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"connectId","in":"path","description":"The GUID ID of the Organization-Level Connect configuration to update.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectConfigurationDetailsResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `connectRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectConfigurationRequest"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/connect/oauth":{"delete":{"operationId":"orgConnect_OrganizationConnectOAuthConfiguration_DeleteOrganizationConnectOAuthConfiguration","summary":"Delete Connect OAuth configuration","description":"Deletes the [OAuth for Docusign Connect configuration](/platform/webhooks/connect/validation-and-security/oauth-connect/) from an organization.\n\nRequired scopes: `connect_org_oauth_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization within which the OAuth for Connect configuration will be deleted.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgConnect_OrganizationConnectOAuthConfiguration_DeleteOrganizationConnectOAuthConfiguration_Response_200"}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"orgConnect_OrganizationConnectOAuthConfiguration_GetOrganizationConnectOAuthConfiguration","summary":"Returns information about an organization-level Connect OAuth configuration","description":"Returns the definition of the [OAuth for Docusign Connect configuration](/platform/webhooks/connect/validation-and-security/oauth-connect/) for an organization.\n\nRequired scopes: `connect_org_oauth_read_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization where the OAuth configuration is defined.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgConnect_OrganizationConnectOAuthConfiguration_GetOrganizationConnectOAuthConfiguration_Response_200"}}}}},"security":[{"accessCode":[]}]},"post":{"operationId":"orgConnect_OrganizationConnectOAuthConfiguration_PostOrganizationConnectOAuthConfiguration","summary":"Create Connect OAuth configuration","description":"Creates a new [OAuth for Docusign Connect configuration](/platform/webhooks/connect/validation-and-security/oauth-connect/) for an organization with the definition provided in the API call body. See [Enable OAuth for Connect](/platform/webhooks/connect/validation-and-security/oauth-connect/#enable-oauth-for-connect) for an example.\n\nRequired scopes: `connect_org_oauth_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization within which the OAuth configuration will be created.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectOAuthConfiguration"}}}}},"requestBody":{"description":"This endpoint expects an object: `configuration`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectOAuthConfiguration"}}}},"security":[{"accessCode":[]}]},"put":{"operationId":"orgConnect_OrganizationConnectOAuthConfiguration_PutOrganizationConnectOAuthConfiguration","summary":"Update Connect OAuth configuration","description":"Updates the [OAuth for Docusign Connect configuration](/platform/webhooks/connect/validation-and-security/oauth-connect/) for an organization to the definition values provided in the API call body. See [Enable OAuth for Connect](/platform/webhooks/connect/validation-and-security/oauth-connect/#enable-oauth-for-connect) for an example Connect definition.\n\nRequired scopes: `connect_org_oauth_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization where the OAuth configuration is defined.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectOAuthConfiguration"}}}}},"requestBody":{"description":"This endpoint expects an object: `configuration`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectOAuthConfiguration"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/connect/secret":{"get":{"operationId":"orgConnect_OrganizationConnectHmac_GetConnectHmacSecrets","summary":"Returns a list of the HMAC secrets for an organization.","description":"Returns a list of the [HMAC](/platform/webhooks/connect/hmac/) secrets for an organization. The full secret information is redacted from this set of returned information; it is only fully displayed directly after creation.\n\nRequired scopes: `connect_org_hmac_read_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization owning the HMAC secrets to be returned.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectHmacSecretsResponse"}}}}},"security":[{"accessCode":[]}]},"post":{"operationId":"orgConnect_OrganizationConnectHmac_PostConnectHmacSecret","summary":"Creates a new Connect HMAC secret for an organization.","description":"Creates a new [HMAC](/platform/webhooks/connect/hmac/) secret for an organization. The response for this call will contain the full unredacted secret. Record this secret to a secure location, as you will not be able to get this information again later.\n\nRequired scopes: `connect_org_hmac_write_api`","tags":["orgConnect"],"parameters":[{"name":"organizationId","in":"path","description":"The GUID ID of the organization within which the HMAC secret will be created.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationConnectHmacSecretsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations":{"get":{"operationId":"accounts_Organization_Organization_GetListV2","summary":"List organizations for authenticated user","description":"Returns a list of organizations that the authenticated user belongs to.\n\nNote that the Docusign Admin API only returns JSON, not XML.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `organization_read`.\n\nThis method requires user authentication. It will fail with an [application access token](/docs/admin-api/admin101/application-auth/).","tags":["accounts"],"parameters":[{"name":"mode","in":"query","description":"Specifies how to select the organizations. Valid values:\n\n- `org_admin`: Returns organizations for which the authenticated user is an admin.\n- `account_membership`: Returns organizations that contain an account of which the authenticated user is a member\n\nDefault value: `org_admin`","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/reserved_domains":{"get":{"operationId":"reservedDomains_Organization_GetReservedDomains","summary":"Returns the list of reserved domains for the organization.","description":"Returns the list of reserved domains for the organization.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `domain_read`.","tags":["reservedDomains"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/data_redaction/accounts/{accountId}/user":{"post":{"operationId":"dataDeletion_DataRedaction_RedactIndividualMembershipData","summary":"Deletes membership data for a user on an account.","description":"Deletes the data for a single account membership for a specified user.\n\nTo call this endpoint:\n\n- You must be an administrator (or delegated administrator) of the specified account.\n- The user must have been closed for at least 24 hours.\n\n**Note:** After a user's data is deleted for every account to which they belong, their user-level data will automatically be deleted.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_data_redact`.\n\n### Related topics\n\n- [How to delete user data from an account as an account admin](/docs/admin-api/how-to/account-admin-delete-user-data/)","tags":["dataDeletion"],"parameters":[{"name":"accountId","in":"path","description":"The ID of the account from which to delete the user's data.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualUserDataRedactionResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `IndividualMembershipDataRedactionRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualMembershipDataRedactionRequest"}}}}}},"/v2/data_redaction/organizations/{organizationId}/user":{"post":{"operationId":"dataDeletion_DataRedaction_RedactIndividualUserData","summary":"Deletes data for one or more of a user's account memberships.","description":"Deletes data for one or more of a user's account memberships.\n\nTo call this endpoint:\n\n- You must be an organization administrator (or delegated administrator) with permission to manage the specified accounts or the user's email domain.\n- The user must have been closed for at least 24 hours.\n\n**Note:** After a user's data is deleted for every account to which they belong, their user-level data will automatically be deleted.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_data_redact`.\n\n### Related topics\n\n- [How to delete user data from one or more accounts as an organization admin](/docs/admin-api/how-to/org-admin-delete-user-data/)","tags":["dataDeletion"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualUserDataRedactionResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `IndividualUserDataRedactionRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualUserDataRedactionRequest"}}}}}},"/v2/organizations/{organizationId}/users/{userId}/memberships/{membershipId}":{"post":{"operationId":"users_OrganizationUser_Users_ActivateMembershipV2","summary":"Activates user memberships","description":"Activates user memberships.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","description":"The user ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"membershipId","in":"path","description":"The membership ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForceActivateMembershipRequest"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/accounts/{accountId}/users":{"post":{"operationId":"users_OrganizationUser_OrganizationUsers_PostAccountUsersV2","summary":"Adds users to an account.","description":"Adds users to an account.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\n### Related topics\n\n- [How to create a new active eSignature user](/docs/admin-api/how-to/create-active-user/)","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUserResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAccountUserRequest"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/users/{userId}/accounts":{"delete":{"operationId":"users_User_Users_CloseMembershipsV2","summary":"Closes a user's memberships.","description":"Closes a user's memberships.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\nThis method requires user authentication. It will fail with an [application access token](/docs/admin-api/admin101/application-auth/).","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","description":"The user ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMembershipsResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMembershipsRequest"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/users":{"post":{"operationId":"users_OrganizationUser_Users_AddV2","summary":"Creates a new eSignature user.","description":"Creates a new eSignature user and automatically activates the user's account.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\n### Related topics\n\n- [How to create a new active eSignature user](/docs/admin-api/how-to/create-active-user/)","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUserResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewUserRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"users_OrganizationUser_OrganizationUsers_GetV2","summary":"Returns information about the users in an organization.","description":"Returns information about the users in an organization.\n\nYou must include at least one of the following query parameters in the request:\n\n- `account_id`: The ID of an account associated with the organization.\n- `organization_reserved_domain_id`: The ID of one of the organization's reserved domains.\n- `email`: An email address associated with the users that you want to return.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"start","in":"query","description":"Index of first item to include in the response. The default value is 0.","required":false,"schema":{"type":"integer"}},{"name":"take","in":"query","description":"Page size of the response. The default value is 20.","required":false,"schema":{"type":"integer"}},{"name":"end","in":"query","description":"Index of the last item to include in the response. Ignored if `take` parameter is specified.","required":false,"schema":{"type":"integer"}},{"name":"email","in":"query","description":"Email address of the desired user. At least one of email, account_id or organization_reserved_domain_id must be specified.","required":false,"schema":{"type":"string"}},{"name":"email_user_name_like","in":"query","description":"Selects users by pattern matching on the user's email address","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"Status.","required":false,"schema":{"type":"string"}},{"name":"membership_status","in":"query","description":"The user's membership status. One of:\n\n- `activation_required`\n- `activation_sent`\n- `active`\n- `closed`\n- `disabled`","required":false,"schema":{"type":"string"}},{"name":"account_id","in":"query","description":"Select users that are members of the specified account. At least one of email, account_id or organization_reserved_domain_id must be specified.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"organization_reserved_domain_id","in":"query","description":"Select users that are in the specified domain. At least one of email, account_id or organization_reserved_domain_id must be specified.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"last_modified_since","in":"query","description":"Select users whose data have been modified since the date specified;  account_id or organization_reserved_domain_id must be specified.","required":false,"schema":{"type":"string"}},{"name":"include_ds_groups","in":"query","description":"Select users with groups the users belong to; The organization must have entitlement `AllowMultiApplication` enabled.","required":false,"schema":{"type":"boolean"}},{"name":"include_license","in":"query","description":"When true: additional details about the user's license will be included in the response; account_id must be specified and the account must have an IAM plan with licenses.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUsersResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/users/{userId}/identities":{"delete":{"operationId":"users_OrganizationUser_DeleteIdentitiesV2","summary":"Delete user identities for a specified identity provider.","description":"Deletes all user identities linked to a specified identity provider.\n\nThe `id` request body property specifies the identity provider. To get the ID, call [getUserProfiles](/docs/admin-api/reference/usermanagement/esignusermanagement/getuserprofiles/) and copy the `provider_id` value you want to use.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","description":"The ID of the user to access.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `requestModel`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteUserIdentityRequest"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/accounts/{accountId}/groups":{"get":{"operationId":"accounts_Account_Accounts_GetGroupsV2","summary":"Returns the list of groups in an account.","description":"Returns the list of groups in an account.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `group_read`.\n\n### Related topics\n\n- [How to create a new active eSignature user](/docs/admin-api/how-to/create-active-user/)","tags":["accounts"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"start","in":"query","description":"Index of first item to include in the response. The default value is 0.","required":false,"schema":{"type":"integer"}},{"name":"take","in":"query","description":"Page size of the response. The default value is 20.","required":false,"schema":{"type":"integer"}},{"name":"end","in":"query","description":"Index of the last item to include in the response. Ignored if `take` parameter is specified.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberGroupsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/accounts/{accountId}/permissions":{"get":{"operationId":"accounts_Account_Accounts_GetPermissionProfilesV2","summary":"Returns the list of permission profiles in an account.","description":"Returns the list of permission profiles in an account.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `permission_read`.\n\n### Related topics\n\n- [How to create a new active eSignature user](/docs/admin-api/how-to/create-active-user/)","tags":["accounts"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionsResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/users/profile":{"get":{"operationId":"users_OrganizationUser_OrganizationUsers_GetProfileV2","summary":"Get user history by email address","description":"Returns historical information about users with a specific email address.\n**Note:** The `email` query parameter is _required_.\n\nTo get a list of users in an organization,\nuse [Users: getUsers](/docs/admin-api/reference/usermanagement/users/getusers/)\ninstead.\n\nFor example, the following request gets information about\naccounts that use `max@example.net` as an email address:\n\n```bash\nGET /Management/v2/organizations/96e994fa-xxxx-xxxx-xxxx-c5fe9d1ccd10/users/profile?email=max@example.net\n\n{\n  \"users\": [\n    {\n      \"id\": \"6b67a1ee-xxxx-xxxx-xxxx-385763624163\",\n      \"site_id\": 1,\n      \"site_name\": \"Monadnock\",\n      \"user_name\": \"Max Example\",\n      \"first_name\": \"Max\",\n      \"last_name\": \"Example\",\n      \"user_status\": \"active\",\n      \"default_account_id\": \"f636f297-xxxx-xxxx-xxxx-8e7a14715950\",\n      \"default_account_name\": \"BizCo\",\n      \"is_organization_admin\": false,\n      \"created_on\": \"2019-04-01T22:11:56.457\",\n      \"memberships\": [\n        {\n          \"email\": \"max@example.net\",\n          \"account_id\": \"624e3e00-xxxx-xxxx-xxxx-43918c520dab\",\n          \"external_account_id\": \"17xxxxx1\",\n          \"account_name\": \"LoanCo\",\n          \"is_external_account\": false,\n          \"status\": \"active\",\n          \"permission_profile\": { },\n          \"created_on\": \"2019-04-01T22:11:56.457\",\n          \"groups\": [ ],\n          \"is_admin\": false\n        },\n        {\n          \"email\": \"max@example.net\",\n          \"account_id\": \"f636f297-xxxx-xxxx-xxxx-8e7a14715950\",\n          \"external_account_id\": \"25xxxxx0\",\n          \"account_name\": \"BizCo\",\n          \"is_external_account\": true,\n          \"status\": \"active\",\n          \"permission_profile\": { },\n          \"created_on\": \"2021-07-07T15:10:51.96\",\n          \"groups\": [ ],\n          \"is_admin\": false\n        },\n        {\n          \"email\": \"max@example.net\",\n          \"account_id\": \"6aed3a52-xxxx-xxxx-xxxx-e89988167cfd\",\n          \"external_account_id\": \"11xxxxx1\",\n          \"account_name\": \"SleepCo\",\n          \"is_external_account\": true,\n          \"status\": \"closed\",\n          \"permission_profile\": { },\n          \"created_on\": \"2021-07-11T12:40:44.26\",\n          \"groups\": [],\n          \"is_admin\": true,\n          \"closed_on\": \"2021-07-13T08:40:51.8\"\n        }\n      ],\n      \"identities\": [],\n      \"device_verification_enabled\": false\n    }\n  ]\n}\n```\n\nThe response includes up to the first 20 users modified in the last 10 days.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.\n\n### Related topics\n\n- [How to Audit Users](/docs/admin-api/how-to/audit-users/)","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"email","in":"query","description":"The email address associated with the users you want to retrieve.\n\n**Note:** This property is required.","required":false,"schema":{"type":"string"}},{"name":"include_license","in":"query","description":"When true: additional details about the user's license will be included in the response. The account must have an IAM plan with licenses.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersDrilldownResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/users/profiles":{"post":{"operationId":"users_User_Users_UpdateV2","summary":"Updates a user's information.","description":"Updates a user's information.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"apply_license_override","in":"query","description":"If an account has an IAM plan with licenses, this query specifies how a user's license is handled. Values: true - Updates the user's existing license; false - Adds a license to the user","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersUpdateResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersRequest"}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups":{"post":{"operationId":"dsGroups_DocuSignGroupsv21_AddDSGroup_V2_1","summary":"Creates a new DSGroup.","description":"Creates a new DSGroup.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `addRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupAddRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"dsGroups_DocuSignGroupsv21_GetDSGroups_V2_1","summary":"Returns a list of DSGroups.","description":"Returns a list of DSGroups.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.\n\n### Related topics\n\n- [How to create a new active user for CLM and eSignature](/docs/admin-api/how-to/create-active-clm-esign-user/)","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"page","in":"query","description":"Start page of dsgroups","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Page size of dsgroups","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupListResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId}/users":{"post":{"operationId":"dsGroups_DocuSignGroupsv21_AddDSGroupUsers_V2_1","summary":"Adds a list of users to a DSGroup.","description":"Adds a list of users to a DSGroup.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"dsGroupId","in":"path","description":"The DSGroup's GUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddDSGroupAndUsersResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `dSGroupUsersAddRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupUsersAddRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"dsGroups_DocuSignGroupsv21_GetDSGroupUsers_V2_1","summary":"Gets a list of users in a DSGroup.","description":"Gets a list of users in a DSGroup.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"dsGroupId","in":"path","description":"The DSGroup's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"page","in":"query","description":"Start page of DSGroups.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"Page size of DSGroups.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupAndUsersResponse"}}}}},"security":[{"accessCode":[]}]},"delete":{"operationId":"dsGroups_DocuSignGroupsv21_RemoveDSGroupUsers_V2_1","summary":"Removes a list of users from a DSGroup.","description":"Removes a list of users from a DSGroup. In the request body, you can specify users by ID or email address. If both parameters are included, the email address parameter will be ignored.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"dsGroupId","in":"path","description":"The DSGroup's GUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveDSGroupUsersResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `dSGroupUsersRemoveRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupUsersRemoveRequest"}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/users":{"post":{"operationId":"users_OrganizationUser_OrganizationUsers_PostAccountUsersV2_1","summary":"Creates or updates a multi-product user.","description":"This API endpoint enables you to either add a new user or update the details of an existing user within a specified organization and account.\n\n- **Add a user**: A new user is created when the provided email does not match an existing user in the given organizationId and accountId.\n- **Update a user**: An existing user is updated when the email matches a user already associated with the given organizationId and accountId.\n\n**Notes:**\n\nDuplicate emails are not allowed within the same organizationId and accountId. If multiple users with the same email exist, the request will fail with a `409 conflict` error.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\n### Next steps\n\n- Explore [an example that demonstrates how to construct the request body and call the endpoint](/docs/admin-api/how-to/create-active-clm-esign-user/).","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddUserResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewMultiProductUserAddRequest"}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/products/users/{userId}/permission_profiles":{"post":{"operationId":"productPermissionProfiles_OrganizationProductPermissionProfile_PostUserProductPermissionProfiles","summary":"Assigns permission profiles for a user by user ID.","description":"Sets permission profiles for one or more products for a given user. The user is specified by the `userId` path parameter.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["productPermissionProfiles"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","description":"The user ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProductPermissionProfilesResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `productPermissionProfilesRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPermissionProfilesRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"productPermissionProfiles_OrganizationProductPermissionProfile_GetUserProductPermissionProfiles","summary":"Retrieves a user's product permission profiles by user ID.","description":"Retrieves a list of a user's permission profiles for each account's product. The user is specified by the ID provided in the `userId` path parameter.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["productPermissionProfiles"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","description":"The user ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPermissionProfilesResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/products/permission_profiles/users":{"post":{"operationId":"productPermissionProfiles_OrganizationProductPermissionProfile_PostUserProductPermissionProfilesByEmail","summary":"Assign permission profiles by email address","description":"Sets permission profiles for one or more products for a given user. The user is specified by the `email` property in the request body.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\n### Related topics\n\n- [How to update user product permission profiles using an email address](/docs/admin-api/how-to/update-user-product-permission-profiles-using-email/)\n- [How to delete user product permission profiles using an email address](/docs/admin-api/how-to/delete-user-product-permission-profiles-using-email/)","tags":["productPermissionProfiles"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProductPermissionProfilesResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `userProductPermissionProfilesRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProductPermissionProfilesRequest"}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"productPermissionProfiles_OrganizationProductPermissionProfile_GetUserProductPermissionProfilesByEmail","summary":"Get user's permission profiles by email address","description":"Retrieves a list of a user's permission profiles for each account's product. The user is specified by the email address provided in the `email` query parameter.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["productPermissionProfiles"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"email","in":"query","description":"The email address of the user.\n\n**Note:** This property is required.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProductPermissionProfilesResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/dsgroups/{dsGroupId}":{"delete":{"operationId":"dsGroups_DocuSignGroupsv21_DeleteDSGroup_V2_1","summary":"Deletes a DSGroup.","description":"Deletes a DSGroup.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"dsGroupId","in":"path","description":"The DSGroup's GUID.","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}},"security":[{"accessCode":[]}]},"get":{"operationId":"dsGroups_DocuSignGroupsv21_GetDSGroup_V2_1","summary":"Returns details about a single DSGroup.","description":"Returns details about a single DSGroup.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["dsGroups"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"dsGroupId","in":"path","description":"The DSGroup's ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DSGroupResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/products/permission_profiles":{"get":{"operationId":"productPermissionProfiles_OrganizationProductPermissionProfile_GetProductPermissionProfiles","summary":"Get products and permission profiles","description":"Gets products associated with the account and the available permission profiles.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.\n\n### Related topics\n\n- [How to create a new active user for CLM and eSignature](/docs/admin-api/how-to/create-active-clm-esign-user/)","tags":["productPermissionProfiles"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPermissionProfilesResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/users/{userId}/dsprofile":{"get":{"operationId":"users_OrganizationUser_OrganizationUsers_GetDSProfileByUserId","summary":"Retrieves the DS profile for a user specified by ID.","description":"Gets information about a user specified by the `userId` query parameter.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.\n\n### Related topics\n\n- [How to retrieve the user's Docusign profile using an email address](/docs/admin-api/how-to/retrieve-docusign-profile-using-email/)\n- [How to retrieve the user's Docusign profile using a User ID](/docs/admin-api/how-to/retrieve-docusign-profile-using-userid/)","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"userId","in":"path","description":"The user ID Guid","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"sort","in":"query","description":"When **true,** sorts the results in ascending order by account name.","required":false,"schema":{"type":"boolean"}},{"name":"include_license","in":"query","description":"When true: additional details about the user's license will be included in the response. The account must have an IAM plan with licenses.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersDrilldownResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/users/dsprofile":{"get":{"operationId":"users_OrganizationUser_OrganizationUsers_GetDSProfiles","summary":"Retrieves the DS profile for a user specified by email address.","description":"Gets information about a user specified by the `email` query parameter.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_read`.","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization's GUID.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"email","in":"query","description":"The email address of the user.\n\n**Note:** This property is required.","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","description":"When **true,** sorts the results in ascending order by account name.","required":false,"schema":{"type":"boolean"}},{"name":"include_license","in":"query","description":"When true: additional details about the user's license will be included in the response. The account must have an IAM plan with licenses.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersDrilldownResponse"}}}}},"security":[{"accessCode":[]}]}},"/v2.1/organizations/{organizationId}/accounts/{accountId}/products/users":{"delete":{"operationId":"productPermissionProfiles_OrganizationProductPermissionProfile_RemoveUserProducts","summary":"Revokes a user's access to one or more products.","description":"Revokes a specified user's access to one or more products.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.\n\n### Related topics\n\n- [How to delete user data from an account as an account admin](/docs/admin-api/how-to/account-admin-delete-user-data/)","tags":["productPermissionProfiles"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID GUID","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"accountId","in":"path","description":"The account ID GUID","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveUserProductsResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `userProductPermissionProfilesRequest`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProductProfileDeleteRequest"}}}},"security":[{"accessCode":[]}]}},"/v2/organizations/{organizationId}/users/email_addresses":{"post":{"operationId":"users_User_Users_UpdateEmailAddressesV2","summary":"Updates a user's email address.","description":"Updates a user's email address.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `user_write`.","tags":["users"],"parameters":[{"name":"organizationId","in":"path","description":"The organization ID Guid","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsersUpdateResponse"}}}}},"requestBody":{"description":"This endpoint expects an object: `request`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersEmailRequest"}}}},"security":[{"accessCode":[]}]}}},"tags":[{"name":"accountCloning"},{"name":"accountCreation"},{"name":"bulkExports","description":"Endpoints to manage bulk export jobs"},{"name":"bulkImports","description":"Endpoints to manage bulk import jobs"},{"name":"identityProviders","description":"Endpoints to manage identity providers"},{"name":"orgConnect","description":"Endpoints to manage organization-level Connect configurations"},{"name":"accounts","description":"Endpoints to manage accounts"},{"name":"reservedDomains","description":"Endpoints to manage reserved domains"},{"name":"dataDeletion"},{"name":"users","description":"Endpoints to manage users"},{"name":"dsGroups","description":"Endpoints to manage DocuSign groups"},{"name":"productPermissionProfiles","description":"Endpoints to manage product permission profiles"}],"servers":[{"url":"https://api-d.docusign.net/Management","description":"Demo"},{"url":"https://api.docusign.net/Management","description":"Production"}],"components":{"schemas":{"AssetGroupAccountCloneAssetGroupWorkType":{"type":"string","enum":["Undefined","GroupAssetFulfillment","AccountAssetFulfillment","AccountAssetClone","AccountAssetCreate","SubscriptionSync"],"description":"The type of asset group work. This property is read-only.","title":"AssetGroupAccountCloneAssetGroupWorkType"},"SubAccountErrorDetails":{"type":"object","properties":{"error":{"type":"string","description":"The error code."},"errorDescription":{"type":"string","description":"The error description."},"isSystemError":{"type":"boolean","description":"Whether the error is caused by the system or user."}},"title":"SubAccountErrorDetails"},"AssetGroupAccountCloneSourceAccount":{"type":"object","properties":{"externalAccountId":{"type":"integer","format":"int64","description":"The external account ID of the source account."},"id":{"type":"string","format":"uuid","description":"The ID of the account to clone. This property is required in POST requests."},"name":{"type":"string","description":"The name of the source account."},"site":{"type":"string","description":"The site the source account is on."}},"title":"AssetGroupAccountCloneSourceAccount"},"AssetGroupAccountCloneStatus":{"type":"string","enum":["Undefined","Pending","Processing","ProcessingOnHold","PendingError","ProcessingError","Completed","Canceled","PermanentFailure"],"description":"The status of the clone request. Valid values:\n\n- `Pending`\n- `Processing`\n- `PendingError`\n- `ProcessingError`\n- `Completed`\n- `Canceled`\n- `PermanentFailure`\n\nThis property is read-only.","title":"AssetGroupAccountCloneStatus"},"AssetGroupAccountCloneTargetAccountAdminLocale":{"type":"string","enum":["None","zh_cn","zh_tw","nl","en","fr","de","it","ja","ko","pt","pt_br","ru","es","pl"],"description":"The locale of the target account administrator. The locale code for the United States is `en`.","title":"AssetGroupAccountCloneTargetAccountAdminLocale"},"AssetGroupAccountCloneTargetAccountAdmin":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the target account administrator. This property is required in the request body when cloning an account."},"firstName":{"type":"string","description":"The first name of the target account administrator. This property is required in the request body when cloning an account."},"lastName":{"type":"string","description":"The last name of the target account administrator. This property is required in the request body when cloning an account."},"locale":{"$ref":"#/components/schemas/AssetGroupAccountCloneTargetAccountAdminLocale","description":"The locale of the target account administrator. The locale code for the United States is `en`."}},"description":"An object describing the administrator of the cloned account.","title":"AssetGroupAccountCloneTargetAccountAdmin"},"AssetGroupAccountCloneTargetAccount":{"type":"object","properties":{"admin":{"$ref":"#/components/schemas/AssetGroupAccountCloneTargetAccountAdmin"},"countryCode":{"type":"string","description":"The two-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) country code of the target account.\n\n**Note:** When cloning an account, you must include this property or `region`. If both are provided, `region` will be used."},"id":{"type":"string","format":"uuid","description":"The ID of the target account. This property is read-only."},"name":{"type":"string","description":"The name of the target account. This property is required in the request body when cloning an account."},"region":{"type":"string","description":"The region of the target account. When testing in the developer environment, the region will always be `NA`.\n\n**Note:** When cloning an account, you must include this property or `countryCode` in the request. If both are provided, `region` will be used."},"site":{"type":"string","description":"The data center site of the account. This property is read-only."}},"description":"An object describing the target cloned account.","title":"AssetGroupAccountCloneTargetAccount"},"AssetGroupAccountClone":{"type":"object","properties":{"assetGroupId":{"type":"string","format":"uuid","description":"The ID of the asset group to which the account belongs. Use this value to retrieve information about the clone request with the [getAssetGroupAccountClone](/docs/admin-api/reference/accountprovisioning/accountcloning/getassetgroupaccountclone/) endpoint.\n\nThis property is read-only."},"assetGroupWorkId":{"type":"string","format":"uuid","description":"The ID of the job that is created by the request. Use this value to retrieve information about the clone request with the [getAssetGroupAccountClone](/docs/admin-api/reference/accountprovisioning/accountcloning/getassetgroupaccountclone/) endpoint.\n\nThis property is read-only."},"assetGroupWorkType":{"$ref":"#/components/schemas/AssetGroupAccountCloneAssetGroupWorkType","description":"The type of asset group work. This property is read-only."},"attempts":{"type":"integer","description":"The number of retries. This property is read-only."},"cloneProcessingFailureDetails":{"$ref":"#/components/schemas/SubAccountErrorDetails"},"cloneRequestId":{"type":"string","format":"uuid","description":"Reserved for Docusign."},"createdByEmail":{"type":"string","description":"The email address of the user who initiated the clone request. This property is read-only."},"createdByName":{"type":"string","description":"The name of the user who initiated the clone request. This property is read-only."},"createdDate":{"type":"string","format":"date-time","description":"The date that the clone request was initiated. This property is read-only."},"message":{"type":"string","description":"A message providing information about the clone request. If the request resulted in an error, this message includes specific information about the error.\n\nThis property is read-only."},"orderId":{"type":"string","format":"uuid","description":"Reserved for Docusign."},"sourceAccount":{"$ref":"#/components/schemas/AssetGroupAccountCloneSourceAccount"},"status":{"$ref":"#/components/schemas/AssetGroupAccountCloneStatus","description":"The status of the clone request. Valid values:\n\n- `Pending`\n- `Processing`\n- `PendingError`\n- `ProcessingError`\n- `Completed`\n- `Canceled`\n- `PermanentFailure`\n\nThis property is read-only."},"targetAccount":{"$ref":"#/components/schemas/AssetGroupAccountCloneTargetAccount"}},"description":"The account that is cloned.","title":"AssetGroupAccountClone"},"AssetGroupAccountClones":{"type":"object","properties":{"assetGroupWorks":{"type":"array","items":{"$ref":"#/components/schemas/AssetGroupAccountClone"},"description":"The list of asset group accounts."}},"title":"AssetGroupAccountClones"},"AssetGroupAccountResponse":{"type":"object","properties":{"accountId":{"type":"string","format":"uuid","description":"The ID of the account."},"accountName":{"type":"string","description":"The name of the account."},"assetGroupId":{"type":"string","format":"uuid","description":"The asset group ID."},"assetGroupName":{"type":"string","description":"Reserved for Docusign."},"compliant":{"type":"boolean","description":"When **true,** indicates that the account is compliant."},"externalAccountId":{"type":"integer","format":"int64","description":"The external account ID."},"siteId":{"type":"integer","description":"Reserved for Docusign."},"siteName":{"type":"string","description":"Reserved for Docusign."}},"title":"AssetGroupAccountResponse"},"AssetGroupAccountsResponse":{"type":"object","properties":{"assetGroupAccounts":{"type":"array","items":{"$ref":"#/components/schemas/AssetGroupAccountResponse"},"description":"The list of asset group accounts."}},"description":"A list of asset group accounts.","title":"AssetGroupAccountsResponse"},"SubAccountCreateRequest.SubAccountCreationSubscription":{"type":"object","properties":{"id":{"type":"string"},"modules":{"type":"array","items":{"type":"string","format":"uuid"},"description":"List of module IDs selected for creating the new account"},"planId":{"type":"string","format":"uuid","description":"Plan ID"}},"title":"SubAccountCreateRequest.SubAccountCreationSubscription"},"AddressInformation":{"type":"object","properties":{"country":{"type":"string"},"fax":{"type":"string"},"locality":{"type":"string"},"phone":{"type":"string"},"postal_code":{"type":"string"},"region":{"type":"string","description":"The region where the target account is in."},"street_address":{"type":"string"},"street_address_2":{"type":"string"}},"title":"AddressInformation"},"SubAccountCreateRequestSubAccountCreationTargetAccountAdminLocale":{"type":"string","enum":["None","zh_cn","zh_tw","nl","en","fr","de","it","ja","ko","pt","pt_br","ru","es","pl"],"title":"SubAccountCreateRequestSubAccountCreationTargetAccountAdminLocale"},"SubAccountCreateRequest.SubAccountCreationTargetAccountAdmin":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/AddressInformation"},"email":{"type":"string","description":"The email address."},"firstName":{"type":"string"},"lastName":{"type":"string"},"locale":{"$ref":"#/components/schemas/SubAccountCreateRequestSubAccountCreationTargetAccountAdminLocale"}},"title":"SubAccountCreateRequest.SubAccountCreationTargetAccountAdmin"},"SubAccountCreateRequest.SubAccountCreationTargetAccountDetails":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/AddressInformation"},"admin":{"$ref":"#/components/schemas/SubAccountCreateRequest.SubAccountCreationTargetAccountAdmin"},"countryCode":{"type":"string","description":"The country code where the target account is in. This value is ignored if region is provided."},"id":{"type":"string"},"name":{"type":"string"},"region":{"type":"string","description":"The region where the target account is in."},"site":{"type":"string","description":"The site where the target account is on."}},"title":"SubAccountCreateRequest.SubAccountCreationTargetAccountDetails"},"SubAccountCreateRequest":{"type":"object","properties":{"subscriptionDetails":{"$ref":"#/components/schemas/SubAccountCreateRequest.SubAccountCreationSubscription"},"targetAccount":{"$ref":"#/components/schemas/SubAccountCreateRequest.SubAccountCreationTargetAccountDetails"}},"title":"SubAccountCreateRequest"},"SubscriptionProvisionModelAssetGroupWorkAssetGroupWorkType":{"type":"string","enum":["Undefined","GroupAssetFulfillment","AccountAssetFulfillment","AccountAssetClone","AccountAssetCreate","SubscriptionSync"],"title":"SubscriptionProvisionModelAssetGroupWorkAssetGroupWorkType"},"DocuSign.Account.Domain.Model.Address":{"type":"object","properties":{"Address1":{"type":"string"},"Address2":{"type":"string"},"City":{"type":"string"},"Country":{"type":"string"},"Fax":{"type":"string"},"Phone":{"type":"string"},"PostalCode":{"type":"string"},"StateProvince":{"type":"string"},"ZipPlus4":{"type":"string"}},"title":"DocuSign.Account.Domain.Model.Address"},"SubscriptionProvisionModelAccountCreateAccountAdminLocale":{"type":"string","enum":["None","zh_cn","zh_tw","nl","en","fr","de","it","ja","ko","pt","pt_br","ru","es","pl"],"title":"SubscriptionProvisionModelAccountCreateAccountAdminLocale"},"Subscription.Provision.Model.Account.Create.AccountAdmin":{"type":"object","properties":{"Address":{"$ref":"#/components/schemas/DocuSign.Account.Domain.Model.Address"},"EmailAddress":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"Locale":{"$ref":"#/components/schemas/SubscriptionProvisionModelAccountCreateAccountAdminLocale"}},"title":"Subscription.Provision.Model.Account.Create.AccountAdmin"},"SubscriptionProvisionModelAccountCreateCreateAccountDetailsBillingProfileType":{"type":"string","enum":["0","1"],"description":"0 stands for Web, 1 stands for Direct","title":"SubscriptionProvisionModelAccountCreateCreateAccountDetailsBillingProfileType"},"Subscription.Provision.Model.Account.Create.CreateAccountDetails":{"type":"object","properties":{"Address":{"$ref":"#/components/schemas/DocuSign.Account.Domain.Model.Address"},"AdminUser":{"$ref":"#/components/schemas/Subscription.Provision.Model.Account.Create.AccountAdmin"},"BillingProfileType":{"$ref":"#/components/schemas/SubscriptionProvisionModelAccountCreateCreateAccountDetailsBillingProfileType","description":"0 stands for Web, 1 stands for Direct"},"CountryCode":{"type":"string"},"Name":{"type":"string"},"Region":{"type":"string"},"Site":{"type":"string"}},"title":"Subscription.Provision.Model.Account.Create.CreateAccountDetails"},"SubscriptionProvisionModelAssetGroupWorkCreatedByType":{"type":"string","enum":["0","1","2","3","4","5"],"description":"0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted","title":"SubscriptionProvisionModelAssetGroupWorkCreatedByType"},"SubscriptionProvisionModelAccountCreateCreateSubAccountDetailsBillingProfileType":{"type":"string","enum":["0","1"],"description":"0 stands for Web, 1 stands for Direct","title":"SubscriptionProvisionModelAccountCreateCreateSubAccountDetailsBillingProfileType"},"Subscription.Provision.Model.Account.Create.CreateAccountSubscriptionDetails":{"type":"object","properties":{"Modules":{"type":"array","items":{"type":"string","format":"uuid"}},"PlanId":{"type":"string","format":"uuid"},"SubscriptionId":{"type":"string"}},"title":"Subscription.Provision.Model.Account.Create.CreateAccountSubscriptionDetails"},"Subscription.Provision.Model.Account.Create.CreateSubAccountDetails":{"type":"object","properties":{"Address":{"$ref":"#/components/schemas/DocuSign.Account.Domain.Model.Address"},"AdminUser":{"$ref":"#/components/schemas/Subscription.Provision.Model.Account.Create.AccountAdmin"},"BillingProfileType":{"$ref":"#/components/schemas/SubscriptionProvisionModelAccountCreateCreateSubAccountDetailsBillingProfileType","description":"0 stands for Web, 1 stands for Direct"},"CountryCode":{"type":"string"},"Name":{"type":"string"},"Region":{"type":"string"},"Site":{"type":"string"},"SubscriptionDetails":{"$ref":"#/components/schemas/Subscription.Provision.Model.Account.Create.CreateAccountSubscriptionDetails"}},"title":"Subscription.Provision.Model.Account.Create.CreateSubAccountDetails"},"Subscription.Provision.Model.ServiceErrorDetails":{"type":"object","properties":{"ErrorCode":{"type":"string"},"ErrorDescription":{"type":"string"},"IsSystemError":{"type":"boolean"},"PublicErrorCode":{"type":"string"}},"title":"Subscription.Provision.Model.ServiceErrorDetails"},"SubscriptionProvisionModelAssetGroupWorkStatus":{"type":"string","enum":["Undefined","Pending","Processing","ProcessingOnHold","PendingError","ProcessingError","Completed","Canceled","PermanentFailure"],"title":"SubscriptionProvisionModelAssetGroupWorkStatus"},"SubscriptionProvisionModelAssetGroupWorkUpdatedByType":{"type":"string","enum":["0","1","2","3","4","5"],"description":"0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted","title":"SubscriptionProvisionModelAssetGroupWorkUpdatedByType"},"Subscription.Provision.Model.ChangeEvent":{"type":"object","properties":{"Action":{"type":"string"},"EventDate":{"type":"string","format":"date-time"},"TraceToken":{"type":"string","format":"uuid"}},"title":"Subscription.Provision.Model.ChangeEvent"},"Subscription.Provision.Model.AssetGroupWork":{"type":"object","properties":{"AssetGroupId":{"type":"string","format":"uuid"},"AssetGroupWorkId":{"type":"string","format":"uuid"},"AssetGroupWorkType":{"$ref":"#/components/schemas/SubscriptionProvisionModelAssetGroupWorkAssetGroupWorkType"},"Attempts":{"type":"integer"},"CloneAccountDetails":{"$ref":"#/components/schemas/Subscription.Provision.Model.Account.Create.CreateAccountDetails"},"CloneRequestId":{"type":"string","format":"uuid"},"CreatedBy":{"type":"string"},"CreatedByEmail":{"type":"string"},"CreatedByName":{"type":"string"},"CreatedByType":{"$ref":"#/components/schemas/SubscriptionProvisionModelAssetGroupWorkCreatedByType","description":"0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted"},"CreatedDate":{"type":"string","format":"date-time"},"CreateSubAccountDetails":{"$ref":"#/components/schemas/Subscription.Provision.Model.Account.Create.CreateSubAccountDetails"},"ErrorDetails":{"$ref":"#/components/schemas/Subscription.Provision.Model.ServiceErrorDetails"},"Message":{"type":"string"},"NewAssetGroupSubscriptionId":{"type":"string","format":"uuid"},"OldAssetGroupSubscriptionId":{"type":"string","format":"uuid"},"OrderId":{"type":"string","format":"uuid"},"RetryOn":{"type":"string","format":"date-time"},"SourceAccountExternalId":{"type":"integer","format":"int64"},"SourceAccountId":{"type":"string","format":"uuid"},"SourceAccountName":{"type":"string"},"SourceAccountSite":{"type":"string"},"SourceId":{"type":"string"},"SourceSystem":{"type":"string"},"Status":{"$ref":"#/components/schemas/SubscriptionProvisionModelAssetGroupWorkStatus"},"TargetAccountId":{"type":"string","format":"uuid"},"UpdatedBy":{"type":"string"},"UpdatedByType":{"$ref":"#/components/schemas/SubscriptionProvisionModelAssetGroupWorkUpdatedByType","description":"0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted"},"UpdatedDate":{"type":"string","format":"date-time"},"UpdateHistory":{"type":"array","items":{"$ref":"#/components/schemas/Subscription.Provision.Model.ChangeEvent"}}},"title":"Subscription.Provision.Model.AssetGroupWork"},"Subscription.Provision.Model.AssetGroupWorkResult":{"type":"object","properties":{"AssetGroupWork":{"$ref":"#/components/schemas/Subscription.Provision.Model.AssetGroupWork"},"Message":{"type":"string"},"Success":{"type":"boolean"}},"title":"Subscription.Provision.Model.AssetGroupWorkResult"},"SubscriptionPlanItemResponse":{"type":"object","properties":{"plan_item_description":{"type":"string"},"plan_item_id":{"type":"string","format":"uuid"},"plan_item_internal_id":{"type":"string"},"plan_item_name":{"type":"string"}},"title":"SubscriptionPlanItemResponse"},"OrganizationSubscriptionResponse":{"type":"object","properties":{"asset_group_id":{"type":"string","format":"uuid"},"asset_group_name":{"type":"string"},"associated_accounts_count":{"type":"integer"},"modules":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionPlanItemResponse"},"description":"List of module IDs selected for creating the new account"},"plan_id":{"type":"string","format":"uuid"},"plan_name":{"type":"string"},"subscription_id":{"type":"string"},"subscription_name":{"type":"string"}},"title":"OrganizationSubscriptionResponse"},"SubAccountCreateWorkerAssetGroupWorkType":{"type":"string","enum":["Undefined","GroupAssetFulfillment","AccountAssetFulfillment","AccountAssetClone","AccountAssetCreate","SubscriptionSync"],"description":"The type of asset group work. This property is read-only.","title":"SubAccountCreateWorkerAssetGroupWorkType"},"SubAccountCreateWorkerStatus":{"type":"string","enum":["Undefined","Pending","Processing","ProcessingOnHold","PendingError","ProcessingError","Completed","Canceled","PermanentFailure"],"description":"The status of the account creation request.","title":"SubAccountCreateWorkerStatus"},"SubAccountCreateSubscriptionModuleDetails":{"type":"object","properties":{"moduleId":{"type":"string","format":"uuid","description":"Module ID"},"moduleName":{"type":"string","description":"Module name"}},"title":"SubAccountCreateSubscriptionModuleDetails"},"SubAccountCreateSubscriptionDetails":{"type":"object","properties":{"id":{"type":"string","description":"Subscription ID"},"modules":{"type":"array","items":{"$ref":"#/components/schemas/SubAccountCreateSubscriptionModuleDetails"},"description":"List of module IDs selected for creating the new account"},"planId":{"type":"string","format":"uuid","description":"Plan ID"},"planName":{"type":"string","description":"Plan name"}},"title":"SubAccountCreateSubscriptionDetails"},"SubAccountCreateTargetAccountAdminLocale":{"type":"string","enum":["None","zh_cn","zh_tw","nl","en","fr","de","it","ja","ko","pt","pt_br","ru","es","pl"],"title":"SubAccountCreateTargetAccountAdminLocale"},"SubAccountCreateTargetAccountAdmin":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the target account's admin user."},"firstName":{"type":"string"},"lastName":{"type":"string"},"locale":{"$ref":"#/components/schemas/SubAccountCreateTargetAccountAdminLocale"}},"title":"SubAccountCreateTargetAccountAdmin"},"SubAccountCreateTargetAccount":{"type":"object","properties":{"admin":{"$ref":"#/components/schemas/SubAccountCreateTargetAccountAdmin"},"countryCode":{"type":"string","description":"The country code where the target account is in. This value is ignored if region is provided."},"id":{"type":"string","format":"uuid","description":"The account ID of the new account. The GUID will be empty if the account has not been created yet."},"name":{"type":"string","description":"The name of the target account."},"region":{"type":"string","description":"The region where the target account is in."},"site":{"type":"string","description":"The site where the target account is on."}},"title":"SubAccountCreateTargetAccount"},"SubAccountCreateWorker":{"type":"object","properties":{"assetGroupId":{"type":"string","format":"uuid","description":"The ID of the asset group to which the accounts belong."},"assetGroupWorkId":{"type":"string","format":"uuid","description":"The ID of the job that is created by the request."},"assetGroupWorkType":{"$ref":"#/components/schemas/SubAccountCreateWorkerAssetGroupWorkType","description":"The type of asset group work. This property is read-only."},"attempts":{"type":"integer","description":"The number of times the job has been attempted."},"createAccountProcessingFailureDetails":{"$ref":"#/components/schemas/SubAccountErrorDetails"},"createdByEmail":{"type":"string","description":"The email of the creator of the account clone work."},"createdByName":{"type":"string","description":"The name of the creator of the account clone work."},"createdDate":{"type":"string","format":"date-time","description":"The date the account clone work is created."},"message":{"type":"string","description":"The message associated with the account clone work."},"orderId":{"type":"string","format":"uuid","description":"The order ID created by the clone work."},"status":{"$ref":"#/components/schemas/SubAccountCreateWorkerStatus","description":"The status of the account creation request."},"subscriptionDetails":{"$ref":"#/components/schemas/SubAccountCreateSubscriptionDetails"},"targetAccount":{"$ref":"#/components/schemas/SubAccountCreateTargetAccount"}},"title":"SubAccountCreateWorker"},"SubAccountCreateWorkerResponse":{"type":"object","properties":{"assetGroupWorks":{"type":"array","items":{"$ref":"#/components/schemas/SubAccountCreateWorker"},"description":"The list of asset group accounts."}},"title":"SubAccountCreateWorkerResponse"},"OrganizationAccountRequest":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."}},"required":["account_id"],"title":"OrganizationAccountRequest"},"OrganizationAccountsRequest":{"type":"object","properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationAccountRequest"}}},"title":"OrganizationAccountsRequest"},"OrganizationExportRequestorResponse":{"type":"object","properties":{"name":{"type":"string","description":"The name of the requestor."},"id":{"type":"string","description":"The unique ID of the requestor.\nIf `type` is `user`, this is the requestor's user ID."},"type":{"type":"string","description":"The type of the requestor. One of:\n\n- `user`\n- `client_app`"},"email":{"type":"string","description":"The email address of the requestor."}},"title":"OrganizationExportRequestorResponse"},"OrgExportSelectedAccount":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."}},"title":"OrgExportSelectedAccount"},"OrgExportSelectedDomain":{"type":"object","properties":{"domain":{"type":"string"}},"title":"OrgExportSelectedDomain"},"OETR_ErrorDetails":{"type":"object","properties":{"error":{"type":"string","description":"The error number."},"error_description":{"type":"string","description":"A longer description of the error."}},"title":"OETR_ErrorDetails"},"OrganizationExportTaskResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the task request."},"site_id":{"type":"integer","description":"The ID of the site the response is for."},"url":{"type":"string","description":"The URL that returns the results as a CSV text stream."},"number_rows":{"type":"integer","format":"int64","description":"The number of rows returned in the result."},"size_bytes":{"type":"integer","format":"int64","description":"The size of the response in bytes."},"error_details":{"$ref":"#/components/schemas/OETR_ErrorDetails"}},"title":"OrganizationExportTaskResponse"},"OrganizationExportResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of this request."},"type":{"type":"string","description":"The type of export requested. One of:\n\n- `organization_domain_users_export`: All users of the reserved domains.\n- `organization_external_memberships_export`: Users whose email address domain is _not_ linked to the organization.\n- `organization_memberships_export`: Every user in every account in the organization. Users in multiple accounts will appear more than once.\n- `organization_account_settings_export`: This value only applies to requests to export account settings."},"requestor":{"$ref":"#/components/schemas/OrganizationExportRequestorResponse"},"created":{"type":"string","format":"date-time","description":"The time and date the request was created. This is a date in ISO 8601 format.\n\nExample: `2019-03-26T19:02:09.8957715Z`"},"last_modified":{"type":"string","format":"date-time","description":"The time and date when the request was modified. This is typically the same as `created`."},"completed":{"type":"string","format":"date-time","description":"The time and date when the request completed. Null if the request is still in progress."},"expires":{"type":"string","format":"date-time","description":"The time and date when the request expires."},"status":{"type":"string","description":"The status of the request. One of:\n\n- `failed`\n- `in_process`\n- `queued`\n- `completed`"},"selected_accounts":{"type":"array","items":{"$ref":"#/components/schemas/OrgExportSelectedAccount"}},"selected_domains":{"type":"array","items":{"$ref":"#/components/schemas/OrgExportSelectedDomain"}},"metadata_url":{"type":"string","description":"A pre-configured GET request to get the status of the export. Generally this is the same URI used to access this endpoint."},"percent_completed":{"type":"integer","description":"An integer between 0 to 100 (inclusive) that reports the progress of the request."},"number_rows":{"type":"integer","format":"int64","description":"The number of rows returned in this request."},"size_bytes":{"type":"integer","format":"int64","description":"The size of the request in bytes."},"results":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationExportTaskResponse"},"description":"An array of results. There is one set of results for each server an account is in."},"success":{"type":"boolean","description":"When **true,** the request succeeded."}},"title":"OrganizationExportResponse"},"BulkExports_OrganizationExport_OrganizationExport_DeleteByAccountSettingsExportId_Response_200":{"type":"object","properties":{},"title":"BulkExports_OrganizationExport_OrganizationExport_DeleteByAccountSettingsExportId_Response_200"},"OrganizationExportsResponse":{"type":"object","properties":{"exports":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationExportResponse"}}},"title":"OrganizationExportsResponse"},"OASIRR_ErrorDetails":{"type":"object","properties":{"error":{"type":"string","description":"The error number."},"error_description":{"type":"string","description":"A longer description of the error."}},"title":"OASIRR_ErrorDetails"},"OASIRR_OrganizationAccountSettingsErrorDataResponse":{"type":"object","properties":{"account_id":{"type":"string","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."},"account_name":{"type":"string"},"error":{"type":"string","description":"The error number."},"error_key":{"type":"string"},"setting_key":{"type":"string"}},"title":"OASIRR_OrganizationAccountSettingsErrorDataResponse"},"OrganizationAccountSettingsImportResultResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"site_id":{"type":"integer"},"url":{"type":"string"},"number_processed_accounts":{"type":"integer","format":"int64"},"error_details":{"$ref":"#/components/schemas/OASIRR_ErrorDetails"},"processing_issues_by_account":{"type":"array","items":{"$ref":"#/components/schemas/OASIRR_OrganizationAccountSettingsErrorDataResponse"}},"number_unprocessed_accounts":{"type":"integer","format":"int64"}},"title":"OrganizationAccountSettingsImportResultResponse"},"OrganizationAccountSettingsImportRequestorResponse":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"email":{"type":"string","description":"The email address."}},"title":"OrganizationAccountSettingsImportRequestorResponse"},"OrganizationAccountSettingsImportResponse":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"last_modified":{"type":"string","format":"date-time"},"completed":{"type":"string","format":"date-time"},"expires":{"type":"string","format":"date-time"},"percent_completed":{"type":"integer"},"number_processed_accounts":{"type":"integer","format":"int64"},"number_unprocessed_accounts":{"type":"integer","format":"int64"},"results":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationAccountSettingsImportResultResponse"}},"success":{"type":"boolean"},"skipped_settings_by_account":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"id":{"type":"string"},"organization_id":{"type":"string"},"status":{"type":"string","description":"Status."},"type":{"type":"string"},"requestor":{"$ref":"#/components/schemas/OrganizationAccountSettingsImportRequestorResponse"}},"title":"OrganizationAccountSettingsImportResponse"},"BulkImports_OrganizationImport_OrganizationImportAccountSettings_DeleteById_Response_200":{"type":"object","properties":{},"title":"BulkImports_OrganizationImport_OrganizationImportAccountSettings_DeleteById_Response_200"},"OrganizationImportResponseRequestor":{"type":"object","properties":{"name":{"type":"string","description":"The name of the requestor."},"id":{"type":"string","description":"The unique ID of the requestor.\nIf `type` is `user`, this is the requestor's user ID."},"type":{"type":"string","description":"The type of the requestor. One of:\n\n- `user`\n- `client_app`"},"email":{"type":"string","description":"The email address of the requestor."}},"title":"OrganizationImportResponseRequestor"},"OrganizationImportResponseErrorRollup":{"type":"object","properties":{"error_type":{"type":"string","description":"The type of error. One of:\n\n- `no_action_taken_user_exists`\n- `user_added`\n- `user_updated`\n- `invalid_column_header`\n- `invalid_row_data`\n- `insufficient_row_data_found`\n- `extra_row_data_found`\n- `blank_username`\n- `invalid_characters_in_username`\n- `invalid_useremail_address`\n- `email_domain_is_reserved`\n- `new_name_with_existing_useremail_not_allowed`\n- `invalid_characters_in_jobtitle`\n- `invalid_membership_id`\n- `membership_not_in_account`\n- `maximum_users_exceeded`\n- `invalid_permissionset`\n- `user_permissionset_problems`\n- `invalid_group`\n- `user_group_problems`\n- `group_and_permissionset_problems`\n- `column_headers_missing`\n- `invalid_csv_data_or_syntax`\n- `invalid_characters_in_companyname`\n- `invalid_language_code`\n- `username_column_header_missing`\n- `useremail_column_header_missing`\n- `permissionset_column_header_missing`\n- `membership_id_column_header_usage_not_permitted`\n- `administrator_group_assignment_not_permitted`\n- `user_awaiting_activation`\n- `account_admin_access_denied`\n- `invalid_characters_in_address`\n- `permissionset_required`\n- `apiusername_column_header_missing`\n- `invalid_apiusername`\n- `useremail_username_combination_exists`\n- `permissionset_change_not_allowed`\n- `username_language_changes_ignored_warning`\n- `invalid_country_warning`\n- `invalid_account_id`\n- `invalid_autoactivate`\n- `invalid_loginpolicy`\n- `autoactivate_not_allowed`\n- `membership_closed`\n- `membership_closed_or_disabled_warning`\n- `cannot_close_last_active_admin`\n- `no_action_taken`\n- `cannot_close_own_membership`\n- `unspecified_error`"},"count":{"type":"integer","description":"The number of errors of this type."}},"title":"OrganizationImportResponseErrorRollup"},"OrganizationImportResponseWarningRollup":{"type":"object","properties":{"warning_type":{"type":"string","description":"The type of warning."},"count":{"type":"integer","description":"The number of warnings of this type."}},"title":"OrganizationImportResponseWarningRollup"},"OrganizationImportResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string"},"requestor":{"$ref":"#/components/schemas/OrganizationImportResponseRequestor"},"created":{"type":"string","format":"date-time"},"last_modified":{"type":"string","format":"date-time"},"status":{"type":"string","description":"Status."},"user_count":{"type":"integer"},"processed_user_count":{"type":"integer"},"added_user_count":{"type":"integer"},"updated_user_count":{"type":"integer"},"closed_user_count":{"type":"integer"},"no_action_required_user_count":{"type":"integer"},"error_count":{"type":"integer"},"warning_count":{"type":"integer"},"invalid_column_headers":{"type":"string"},"imports_not_found_or_not_available_for_accounts":{"type":"string"},"imports_failed_for_accounts":{"type":"string"},"imports_timed_out_for_accounts":{"type":"string"},"imports_not_found_or_not_available_for_sites":{"type":"string"},"imports_failed_for_sites":{"type":"string"},"imports_timed_out_for_sites":{"type":"string"},"file_level_error_rollups":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationImportResponseErrorRollup"}},"user_level_error_rollups":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationImportResponseErrorRollup"}},"user_level_warning_rollups":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationImportResponseWarningRollup"}},"has_csv_results":{"type":"boolean"},"results_uri":{"type":"string"}},"title":"OrganizationImportResponse"},"OrganizationExportAccount":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."}},"title":"OrganizationExportAccount"},"OrganizationExportDomain":{"type":"object","properties":{"domain":{"type":"string"}},"title":"OrganizationExportDomain"},"OrganizationExportRequest":{"type":"object","properties":{"type":{"type":"string","description":"The type of export requested. One of:\n\n- `organization_domain_users_export`: All users of the reserved domains.\n- `organization_external_memberships_export`: Users whose email address domain is _not_ linked to the organization.\n- `organization_memberships_export`: Every user in every account in the organization. Users in multiple accounts will appear more than once.\n- `organization_account_settings_export`: This value only applies to requests to export account settings."},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationExportAccount"}},"domains":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationExportDomain"}}},"description":"Enables you to specify the kind of export request.","title":"OrganizationExportRequest"},"BulkExports_OrganizationExport_OrganizationExport_DeleteByExportId_Response_200":{"type":"object","properties":{},"title":"BulkExports_OrganizationExport_OrganizationExport_DeleteByExportId_Response_200"},"BulkImports_OrganizationImport_OrganizationImportUsers_DeleteById_Response_200":{"type":"object","properties":{},"title":"BulkImports_OrganizationImport_OrganizationImportUsers_DeleteById_Response_200"},"OrganizationImportsResponse":{"type":"object","properties":{"imports":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationImportResponse"},"description":"A list of responses to user import requests."}},"title":"OrganizationImportsResponse"},"SettingResponseValue":{"type":"object","properties":{},"description":"The value of the setting.","title":"SettingResponseValue"},"SettingResponse":{"type":"object","properties":{"key":{"type":"string","description":"The key of the setting."},"value":{"$ref":"#/components/schemas/SettingResponseValue","description":"The value of the setting."},"type":{"type":"string","description":"The type of the setting. One of:\n\n- `unknown`\n- `guid`\n- `text`\n- `integer`\n- `boolean`\n- `datetime`\n- `enumeration`"}},"description":"A key/value list of settings.","title":"SettingResponse"},"LinkResponse":{"type":"object","properties":{"rel":{"type":"string","description":"The kind of linked item."},"href":{"type":"string","description":"The URL of the linked item."}},"description":"A link to a useful URL.","title":"LinkResponse"},"CertificateResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the certificate."},"issuer":{"type":"string","description":"The certificate issuer."},"thumbprint":{"type":"string","description":"The thumbprint of the certificate."},"expiration_date":{"type":"string","format":"date-time","description":"The date when the certificate expires."},"is_valid":{"type":"boolean","description":"When **true,** the certificate is valid."},"links":{"type":"array","items":{"$ref":"#/components/schemas/LinkResponse"},"description":"A list of useful links."}},"description":"Information about a single certificate.","title":"CertificateResponse"},"RequiredAttributeMappingResponse":{"type":"object","properties":{"required_attribute_id":{"type":"integer","description":"The unique ID of the attribute."},"required_attribute_name":{"type":"string","description":"The name of the attribute."},"required_attribute_friendly_name":{"type":"string","description":"The human-readable name of the attribute."},"substitute_attribute_name":{"type":"string","description":"The name of the substitute attribute."}},"description":"A single attribute mapping response.","title":"RequiredAttributeMappingResponse"},"Saml2IdentityProviderResponse":{"type":"object","properties":{"issuer":{"type":"string","description":"The name of the certificate issuer."},"settings":{"type":"array","items":{"$ref":"#/components/schemas/SettingResponse"},"description":"A list of settings."},"certificates":{"type":"array","items":{"$ref":"#/components/schemas/CertificateResponse"},"description":"A list of certificates responses."},"attribute_mappings":{"type":"array","items":{"$ref":"#/components/schemas/RequiredAttributeMappingResponse"},"description":"A list of attribute mappings."}},"description":"Information about a SAML 2.0 identity provider.","title":"Saml2IdentityProviderResponse"},"IdentityProviderResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the identity provider."},"friendly_name":{"type":"string","description":"The human-readable name of the identity provider."},"auto_provision_users":{"type":"boolean","description":"When **true,** users who use this identity provider are automatically provisioned."},"type":{"type":"string","description":"The type of the identity provider. One of:\n\n- `none`\n- `saml_20`\n- `saml_11`\n- `saml_10`\n- `ws_federation`\n- `open_id_connect`"},"saml_20":{"$ref":"#/components/schemas/Saml2IdentityProviderResponse"},"links":{"type":"array","items":{"$ref":"#/components/schemas/LinkResponse"},"description":"A list of useful URLs."}},"description":"Information about a single identity provider.","title":"IdentityProviderResponse"},"IdentityProvidersResponse":{"type":"object","properties":{"identity_providers":{"type":"array","items":{"$ref":"#/components/schemas/IdentityProviderResponse"}}},"title":"IdentityProvidersResponse"},"ConnectEventData":{"type":"object","properties":{"version":{"type":"string"},"includeData":{"type":"array","items":{"type":"string"}}},"title":"ConnectEventData"},"OrganizationConnectConfigurationRequest":{"type":"object","properties":{"connectId":{"type":"string","format":"uuid"},"configurationType":{"type":"string"},"allowEnvelopePublish":{"type":"string"},"urlToPublishTo":{"type":"string"},"deliveryMode":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"associatedFilterSelection":{"type":"string"},"groupIds":{"type":"array","items":{"type":"string"}},"accountIds":{"type":"array","items":{"type":"string"}},"userIds":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"signMessageWithX509Certificate":{"type":"string"},"includeOAuth":{"type":"string"},"includeHMAC":{"type":"string"},"pausePublish":{"type":"string"},"eventData":{"$ref":"#/components/schemas/ConnectEventData"}},"title":"OrganizationConnectConfigurationRequest"},"OrganizationConnectConfigurationDetailsResponse":{"type":"object","properties":{"connectId":{"type":"string","format":"uuid"},"configurationType":{"type":"string"},"allowEnvelopePublish":{"type":"string"},"urlToPublishTo":{"type":"string"},"deliveryMode":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"associatedFilterSelection":{"type":"string"},"accountIds":{"type":"array","items":{"type":"string"}},"userIds":{"type":"array","items":{"type":"string"}},"groupIds":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"signMessageWithX509Certificate":{"type":"string"},"includeOAuth":{"type":"string"},"includeHMAC":{"type":"string"},"pausePublish":{"type":"string"},"eventData":{"$ref":"#/components/schemas/ConnectEventData"}},"title":"OrganizationConnectConfigurationDetailsResponse"},"OrganizationConnectHmacSecretsResponse":{"type":"object","properties":{"secrets":{"type":"array","items":{"type":"string"}}},"title":"OrganizationConnectHmacSecretsResponse"},"OrgConnect_OrganizationConnect_DeleteOrganizationConnectConfig_Response_200":{"type":"object","properties":{},"title":"OrgConnect_OrganizationConnect_DeleteOrganizationConnectConfig_Response_200"},"OrgConnect_OrganizationConnectOAuthConfiguration_DeleteOrganizationConnectOAuthConfiguration_Response_200":{"type":"object","properties":{},"title":"OrgConnect_OrganizationConnectOAuthConfiguration_DeleteOrganizationConnectOAuthConfiguration_Response_200"},"OrganizationConnectConfigResponse":{"type":"object","properties":{"connectId":{"type":"string"},"configurationType":{"type":"string"},"disabledBy":{"type":"string"},"allowSalesforcePublish":{"type":"string"},"name":{"type":"string"},"accountId":{"type":"string"},"accountName":{"type":"string"},"allowEnvelopePublish":{"type":"string"},"siteId":{"type":"integer"},"pausePublish":{"type":"string"},"requiresAcknowledgement":{"type":"string"}},"title":"OrganizationConnectConfigResponse"},"ErrorDetail":{"type":"object","properties":{"errorMessage":{"type":"string"},"referenceId":{"type":"string"}},"title":"ErrorDetail"},"OrganizationConnectConfigsResponse":{"type":"object","properties":{"configurations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationConnectConfigResponse"}},"totalSetSize":{"type":"integer"},"errorDetail":{"$ref":"#/components/schemas/ErrorDetail"}},"title":"OrganizationConnectConfigsResponse"},"OrgConnect_OrganizationConnectOAuthConfiguration_GetOrganizationConnectOAuthConfiguration_Response_200":{"type":"object","properties":{},"title":"OrgConnect_OrganizationConnectOAuthConfiguration_GetOrganizationConnectOAuthConfiguration_Response_200"},"OrganizationConnectOAuthConfiguration":{"type":"object","properties":{"authorizationServerUrl":{"type":"string","format":"uri"},"clientId":{"type":"string"},"clientSecret":{"type":"string"},"scope":{"type":"string"},"customParameter":{"type":"object","additionalProperties":{"type":"string"}}},"title":"OrganizationConnectOAuthConfiguration"},"OrganizationAccountResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the account."},"name":{"type":"string","description":"The name of the account."},"external_account_id":{"type":"integer","format":"int64","description":"The external account ID."},"site_id":{"type":"integer","description":"The site ID."}},"description":"Information about an account.","title":"OrganizationAccountResponse"},"OrganizationSimpleIdObject":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID."}},"description":"An ID object.","title":"OrganizationSimpleIdObject"},"DomainResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the reserved domain."},"status":{"type":"string","description":"The status of the request. One of:\n\n- `unknown`\n- `pending`\n- `active`\n- `deactivated`\n- `rejected`"},"host_name":{"type":"string","description":"The host name of the reserved domain."},"txt_token":{"type":"string","description":"A token in form of text of the reserved domain."},"identity_provider_id":{"type":"string","format":"uuid","description":"The identity provider ID of the reserved domain."},"settings":{"type":"array","items":{"$ref":"#/components/schemas/SettingResponse"},"description":"A list of settings for the reserved domain."},"links":{"type":"array","items":{"$ref":"#/components/schemas/LinkResponse"},"description":"A list of useful links."}},"description":"Information about a reserved domain.","title":"DomainResponse"},"OrganizationResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the organization."},"name":{"type":"string","description":"The name of the organization."},"description":{"type":"string","description":"A description of the organization."},"default_account_id":{"type":"string","format":"uuid","description":"The default account ID of the organization."},"default_permission_profile_id":{"type":"integer","format":"int64","description":"The default permission profile ID of the organization."},"created_on":{"type":"string","format":"date-time","description":"The date the organization's account was created."},"created_by":{"type":"string","format":"uuid","description":"The user who created the organization account."},"last_modified_on":{"type":"string","format":"date-time","description":"The date the organization's account was last updated."},"last_modified_by":{"type":"string","format":"uuid","description":"The user who last updated the organization's account."},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationAccountResponse"},"description":"A list of organization accounts."},"users":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationSimpleIdObject"},"description":"A list of the organization accounts users."},"reserved_domains":{"type":"array","items":{"$ref":"#/components/schemas/DomainResponse"},"description":"A list of reserved domains for the organization."},"identity_providers":{"type":"array","items":{"$ref":"#/components/schemas/IdentityProvidersResponse"},"description":"A list of identity providers for the organization."},"links":{"type":"array","items":{"$ref":"#/components/schemas/LinkResponse"},"description":"A list of links for the organization."}},"description":"Information about an individual organization.","title":"OrganizationResponse"},"OrganizationsResponse":{"type":"object","properties":{"organizations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationResponse"},"description":"A list of organizations of which the authenticated user is a member."}},"description":"Organization list.","title":"OrganizationsResponse"},"DomainsResponse":{"type":"object","properties":{"reserved_domains":{"type":"array","items":{"$ref":"#/components/schemas/DomainResponse"},"description":"Information about reserved domains."}},"description":"A response about reserved domains.","title":"DomainsResponse"},"IndividualMembershipDataRedactionRequest":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid","description":"The ID of the user whose data you want to delete."}},"title":"IndividualMembershipDataRedactionRequest"},"MembershipDataRedactionResponseStatus":{"type":"string","enum":["unknown","pending","failure","success","already_redacted"],"description":"The status of the data deletion request. Valid values:\n\n- `success`\n- `pending`\n- `failure`\n- `already_redacted`","title":"MembershipDataRedactionResponseStatus"},"MembershipDataRedactionResponse":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account."},"status":{"$ref":"#/components/schemas/MembershipDataRedactionResponseStatus","description":"The status of the data deletion request. Valid values:\n\n- `success`\n- `pending`\n- `failure`\n- `already_redacted`"}},"description":"An object describing the status of the data deletion request for a specific account.","title":"MembershipDataRedactionResponse"},"IndividualUserDataRedactionResponseStatus":{"type":"string","enum":["unknown","pending","failure","success","already_redacted"],"description":"The overall status of the data deletion request.","title":"IndividualUserDataRedactionResponseStatus"},"IndividualUserDataRedactionResponse":{"type":"object","properties":{"membership_results":{"type":"array","items":{"$ref":"#/components/schemas/MembershipDataRedactionResponse"},"description":"A list of objects describing the status of the deletion request for each account."},"status":{"$ref":"#/components/schemas/IndividualUserDataRedactionResponseStatus","description":"The overall status of the data deletion request."},"user_id":{"type":"string","format":"uuid","description":"The ID of the user."}},"title":"IndividualUserDataRedactionResponse"},"MembershipDataRedactionRequest":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account from which to delete the user's data."}},"title":"MembershipDataRedactionRequest"},"IndividualUserDataRedactionRequest":{"type":"object","properties":{"memberships":{"type":"array","items":{"$ref":"#/components/schemas/MembershipDataRedactionRequest"},"description":"A list of accounts from which you want to delete the user's data. At least one account is required."},"user_id":{"type":"string","format":"uuid","description":"The ID of the user whose data you want to delete."}},"title":"IndividualUserDataRedactionRequest"},"ForceActivateMembershipRequest":{"type":"object","properties":{"site_id":{"type":"integer"}},"required":["site_id"],"title":"ForceActivateMembershipRequest"},"UpdateResponse":{"type":"object","properties":{"status":{"type":"string","description":"The status of the request."}},"description":"A response.","title":"UpdateResponse"},"PermissionProfileRequest":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"The ID of the permission profile."},"name":{"type":"string","description":"The name of the permission profile."}},"required":["id"],"description":"A permission profile.","title":"PermissionProfileRequest"},"GroupRequest":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"The ID of the group."},"name":{"type":"string","description":"The name of the group."},"type":{"type":"string","description":"The type of group. One of:\n\n- `invalid`\n- `admin_group`\n- `everyone_group`\n- `custom_group`"}},"required":["id"],"description":"A group for a user to belong to.","title":"GroupRequest"},"NewAccountUserRequest":{"type":"object","properties":{"permission_profile":{"$ref":"#/components/schemas/PermissionProfileRequest"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/GroupRequest"},"description":"The new user's requested groups."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"email":{"type":"string","description":"The email address of the user."},"default_account_id":{"type":"string","format":"uuid","description":"The account ID of the user's default account."},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"selected_languages":{"type":"string"},"access_code":{"type":"string","description":"The access code that the user needs to activate an account."},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"auto_activate_memberships":{"type":"boolean","description":"When **true,** the user's account is activated automatically."},"license_type":{"type":"string"}},"required":["email"],"description":"A new user request.","title":"NewAccountUserRequest"},"PermissionProfileResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"The ID of the permission profile."},"name":{"type":"string","description":"The name of the permission profile.\n\nExample: `DocuSign Sender`"}},"description":"This object is an individual permission profile response.","title":"PermissionProfileResponse"},"MemberGroupResponse":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"The unique ID of the group."},"name":{"type":"string","description":"The name of the group."},"type":{"type":"string","description":"The type of group. One of:\n\n- `invalid`\n- `admin_group`\n- `everyone_group`\n- `custom_group`"}},"description":"And individual group responses,.","title":"MemberGroupResponse"},"NewUserResponseAccountProperties":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The user's unique ID."},"site_id":{"type":"integer","description":"The site ID of the account."},"permission_profile":{"$ref":"#/components/schemas/PermissionProfileResponse"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/MemberGroupResponse"},"description":"A list of groups that the user belongs to."},"company_name":{"type":"string","description":"The user's company name."},"job_title":{"type":"string","description":"The job title of the user."},"license_status":{"type":"string"},"license_type":{"type":"string"},"plan_name":{"type":"string"},"subscription_id":{"type":"string"}},"description":"Information about a newly created user.","title":"NewUserResponseAccountProperties"},"NewUserResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the added user"},"site_id":{"type":"integer","description":"The site ID of the added user."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"email":{"type":"string","description":"The primary email address of the user."},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/NewUserResponseAccountProperties"},"description":"A list of accounts the user belongs to."}},"description":"Information about a newly created user.","title":"NewUserResponse"},"DeleteMembershipRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of a user's account you want to close."}},"required":["id"],"title":"DeleteMembershipRequest"},"DeleteMembershipsRequest":{"type":"object","properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/DeleteMembershipRequest"},"description":"A list of accounts to close for a user."}},"required":["accounts"],"description":"A list of accounts to close for a user.","title":"DeleteMembershipsRequest"},"ErrorDetails":{"type":"object","properties":{"error":{"type":"string","description":"The code for the error."},"error_description":{"type":"string","description":"A description of the error."}},"description":"Errors.","title":"ErrorDetails"},"DeleteMembershipResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of an account that could not be closed."},"error_details":{"$ref":"#/components/schemas/ErrorDetails"}},"description":"Results of closing accounts.","title":"DeleteMembershipResponse"},"DeleteMembershipsResponse":{"type":"object","properties":{"success":{"type":"boolean","description":"When **true,** the request to close the accounts succeeded."},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/DeleteMembershipResponse"},"description":"A list of accounts that were closed."}},"description":"The results of closing a user's account.","title":"DeleteMembershipsResponse"},"NewUserRequestAccountProperties":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The account ID."},"permission_profile":{"$ref":"#/components/schemas/PermissionProfileRequest"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/GroupRequest"},"description":"The new user's requested groups."},"company_name":{"type":"string","description":"The user's company name."},"job_title":{"type":"string","description":"The user's job title."}},"required":["id"],"description":"An individual new account user.","title":"NewUserRequestAccountProperties"},"NewUserRequest":{"type":"object","properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/NewUserRequestAccountProperties"},"description":"A list of accounts the user will belong to."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"email":{"type":"string","description":"The email address."},"default_account_id":{"type":"string","format":"uuid","description":"The account ID of the user's default account."},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"selected_languages":{"type":"string"},"access_code":{"type":"string","description":"The access code that the user needs to activate an account."},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"auto_activate_memberships":{"type":"boolean","description":"When **true,** the user's account is activated automatically."}},"required":["accounts","email"],"description":"Information about a new user.","title":"NewUserRequest"},"UserIdentityRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The `provider_id` that is returned from calling `getUserProfiles`."}},"description":"User identity,","title":"UserIdentityRequest"},"DeleteUserIdentityRequest":{"type":"object","properties":{"identities":{"type":"array","items":{"$ref":"#/components/schemas/UserIdentityRequest"},"description":"A list of identities."}},"required":["identities"],"description":"Request to delete a user's identities,","title":"DeleteUserIdentityRequest"},"UserIdentityResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the result."},"provider_id":{"type":"string","format":"uuid","description":"The ID of the identity provider."},"user_id":{"type":"string","format":"uuid","description":"The user ID."},"immutable_id":{"type":"string","description":"A unique ID to identify the removed user."},"error_details":{"$ref":"#/components/schemas/ErrorDetails"}},"description":"Results of deleting a user identity.","title":"UserIdentityResponse"},"DeleteResponse":{"type":"object","properties":{"success":{"type":"boolean","description":"When **true,** the request succeeded."},"identities":{"type":"array","items":{"$ref":"#/components/schemas/UserIdentityResponse"},"description":"A list of identities to delete."}},"description":"Results of deleting identities.","title":"DeleteResponse"},"PagingResponseProperties":{"type":"object","properties":{"result_set_size":{"type":"integer","description":"The number of items in a result set (page)."},"result_set_start_position":{"type":"integer","description":"The index position of the first result in this set."},"result_set_end_position":{"type":"integer","description":"The index position of the last result in this set."},"total_set_size":{"type":"integer","description":"The total number of results."},"next":{"type":"string","description":"A URL to the next set of results."},"previous":{"type":"string","description":"A URL to the previous set of results."}},"title":"PagingResponseProperties"},"MemberGroupsResponse":{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/MemberGroupResponse"},"description":"A list of the responses."},"paging":{"$ref":"#/components/schemas/PagingResponseProperties"}},"description":"A response about member groups. It contains the groups and paging information.","title":"MemberGroupsResponse"},"PermissionsResponse":{"type":"object","properties":{"permissions":{"type":"array","items":{"$ref":"#/components/schemas/PermissionProfileResponse"},"description":"An array of permission profile responses."}},"description":"A list of permission profiles for a given account.","title":"PermissionsResponse"},"MembershipResponse":{"type":"object","properties":{"email":{"type":"string","description":"The email address."},"account_id":{"type":"string","format":"uuid","description":"The ID of the account."},"external_account_id":{"type":"string","description":"The external account ID."},"account_name":{"type":"string","description":"The name of the account."},"is_external_account":{"type":"boolean","description":"When **true,**\nthis is an external account."},"status":{"type":"string","description":"The status of the user's membership."},"permission_profile":{"$ref":"#/components/schemas/PermissionProfileResponse"},"created_on":{"type":"string","format":"date-time","description":"The date the user's account was created."},"groups":{"type":"array","items":{"$ref":"#/components/schemas/MemberGroupResponse"},"description":"A list of groups the user is a member of in this account,"},"is_admin":{"type":"boolean","description":"When **true,**\nthe user has administration\nprivileges on the account."},"id":{"type":"string","format":"uuid"},"license_type":{"type":"string"},"plan_name":{"type":"string"},"subscription_id":{"type":"string"}},"description":"Information about group membership.","title":"MembershipResponse"},"UserDrilldownResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The user's unique ID."},"site_id":{"type":"integer","description":"The site ID of the organization."},"site_name":{"type":"string","description":"The site name of the account."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"user_status":{"type":"string","description":"The user's status. One of:\n\n- `active`\n- `created`\n- `closed`"},"default_account_id":{"type":"string","format":"uuid","description":"The ID of the user's default account."},"default_account_name":{"type":"string","description":"The name of the user's default account."},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"selected_languages":{"type":"string"},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"is_organization_admin":{"type":"boolean","description":"When **true,** the user has organization administration privileges."},"created_on":{"type":"string","format":"date-time","description":"The date the user's account was created."},"last_login":{"type":"string","format":"date-time","description":"This property has been deprecated."},"memberships":{"type":"array","items":{"$ref":"#/components/schemas/MembershipResponse"},"description":"A list of organizations that have groups that the user is a member of."},"identities":{"type":"array","items":{"$ref":"#/components/schemas/UserIdentityResponse"},"description":"A list of identities associated with the user."},"device_verification_enabled":{"type":"boolean"},"allow_extend_org_admin_rights_to_self":{"type":"boolean"},"allow_two_step_verification_snooze":{"type":"boolean"},"is_managed_by_scim":{"type":"boolean"},"require_two_step_verification":{"type":"boolean"}},"description":"Information about a user.","title":"UserDrilldownResponse"},"UsersDrilldownResponse":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UserDrilldownResponse"},"description":"A list of users."}},"description":"Information about a list of users.","title":"UsersDrilldownResponse"},"UpdateMembershipRequest":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"The user's unique ID."},"permission_profile":{"$ref":"#/components/schemas/PermissionProfileRequest"},"groups":{"type":"array","items":{"$ref":"#/components/schemas/GroupRequest"},"description":"The user's requested groups."},"company_name":{"type":"string","description":"The user's company name."},"job_title":{"type":"string","description":"The user's job title."},"send_activation":{"type":"boolean","description":"When **true,** send an activation request after the update."},"access_code":{"type":"string","description":"The access code that the user needs to activate an account."},"license_type":{"type":"string"}},"required":["account_id"],"description":"A request to update group membership.","title":"UpdateMembershipRequest"},"UpdateUserRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The user's unique ID."},"site_id":{"type":"integer","description":"The site ID."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"email":{"type":"string","description":"The email address."},"default_account_id":{"type":"string","format":"uuid","description":"The account ID of the user's default account."},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"selected_languages":{"type":"string"},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"force_password_change":{"type":"boolean","description":"When **true,** the user will be required to change the account password."},"memberships":{"type":"array","items":{"$ref":"#/components/schemas/UpdateMembershipRequest"},"description":"A list of group membership requests."},"device_verification_enabled":{"type":"boolean"}},"required":["id","site_id"],"description":"Request to change a user's information.","title":"UpdateUserRequest"},"UpdateUsersRequest":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UpdateUserRequest"},"description":"A list of users whose information you want to change."},"auto_activate_memberships_on_reactivation":{"type":"boolean","description":"When set to **true**, the user's memberships will be automatically activated on user reactivation without the need to send another activation email."}},"description":"A list of users whose information you want to change.","title":"UpdateUsersRequest"},"UserUpdateResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the user whose email address has been updated."},"site_id":{"type":"integer","description":"The site ID."},"email":{"type":"string","description":"The email address."},"error_details":{"$ref":"#/components/schemas/ErrorDetails"}},"description":"Error result of attempting to change a user's email address.","title":"UserUpdateResponse"},"UsersUpdateResponse":{"type":"object","properties":{"success":{"type":"boolean","description":"When **true,** the request to change user information succeeded."},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserUpdateResponse"},"description":"A list of users whose email addresses have been updated."}},"description":"The results of changing a user's information.","title":"UsersUpdateResponse"},"DSGroupAddRequest":{"type":"object","properties":{"group_name":{"type":"string"},"description":{"type":"string"}},"required":["group_name"],"title":"DSGroupAddRequest"},"DSGroupResponse":{"type":"object","properties":{"ds_group_id":{"type":"string","format":"uuid"},"account_id":{"type":"string","format":"uuid","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."},"source_product_name":{"type":"string"},"group_id":{"type":"string"},"group_name":{"type":"string"},"description":{"type":"string"},"is_admin":{"type":"boolean"},"last_modified_on":{"type":"string","format":"date-time"},"user_count":{"type":"integer"},"external_account_id":{"type":"integer","format":"int64"},"account_name":{"type":"string"},"is_managed_by_scim":{"type":"boolean"}},"title":"DSGroupResponse"},"DSGroupUsersAddRequest":{"type":"object","properties":{"user_ids":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["user_ids"],"title":"DSGroupUsersAddRequest"},"DSGroupUserResponse":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"account_id":{"type":"string","format":"uuid","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"middle_name":{"type":"string"},"status":{"type":"string","description":"Status."},"error_details":{"$ref":"#/components/schemas/ErrorDetails"}},"title":"DSGroupUserResponse"},"AddDSGroupUsersResponse":{"type":"object","properties":{"is_success":{"type":"boolean"},"users":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupUserResponse"},"description":"A list of users."},"TotalCount":{"type":"integer"}},"title":"AddDSGroupUsersResponse"},"AddDSGroupAndUsersResponse":{"type":"object","properties":{"group":{"$ref":"#/components/schemas/DSGroupResponse"},"group_users":{"$ref":"#/components/schemas/AddDSGroupUsersResponse"}},"title":"AddDSGroupAndUsersResponse"},"ProductPermissionProfileRequest":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid","description":"The ID of the product. This property is required."},"permission_profile_id":{"type":"string","description":"The ID of the permission profile for the given product. This property is required."}},"required":["product_id","permission_profile_id"],"description":"Identifies a product and an associated permission profile.","title":"ProductPermissionProfileRequest"},"DSGroupRequest":{"type":"object","properties":{"ds_group_id":{"type":"string","format":"uuid"}},"required":["ds_group_id"],"title":"DSGroupRequest"},"NewMultiProductUserAddRequest":{"type":"object","properties":{"product_permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/ProductPermissionProfileRequest"},"description":"A list of one or more products and their respective permissions."},"ds_groups":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupRequest"}},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"email":{"type":"string","description":"The email address."},"default_account_id":{"type":"string","format":"uuid"},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"access_code":{"type":"string","description":"The access code that the user needs to activate an account."},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"auto_activate_memberships":{"type":"boolean","description":"When **true,** the user's account is activated automatically."},"license_type":{"type":"string","description":"The user’s assigned license type. Only available for IAM plans. Must be one of the following values:\n\n- `Full - Enterprise`: Full license type available for customers who purchase the IAM Enterprise plan; includes access to sending envelopes, Agreement Manager, and Workflow Builder.\n- `Full - Professional`: Full license type available for customers who purchase the IAM Professional plan; includes access to sending envelopes, Agreement Manager, and Workflow Builder.\n- `Full - Standard`: Full license type available for customers who purchase the IAM Standard plan; includes access to sending envelopes, Agreement Manager, and Workflow Builder.\n- `Full - Sales`: Full license type available for customers who purchase the IAM Sales plan; includes access to sending envelopes, Agreement Manager, and Workflow Builder.\n- `Full - CX`: Full license type available for customers who purchase the IAM Sales plan; includes access to sending envelopes and Workflow Builder.\n- `Free`: Free license type available for all IAM customers; includes access to viewing the user’s own agreements and signing."}},"required":["product_permission_profiles","email"],"title":"NewMultiProductUserAddRequest"},"PermissionProfileResponse2_1":{"type":"object","properties":{"permission_profile_id":{"type":"string","description":"The ID of the permission profile."},"permission_profile_name":{"type":"string","description":"The human-readable name of the permission profile."}},"title":"PermissionProfileResponse2_1"},"ProductPermissionProfileResponse":{"type":"object","properties":{"product_id":{"type":"string","format":"uuid","description":"The ID of the product."},"product_name":{"type":"string","description":"The human-readable name of the product."},"permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/PermissionProfileResponse2_1"}},"error_message":{"type":"string"}},"title":"ProductPermissionProfileResponse"},"AddUserResponseAccountProperties":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"site_id":{"type":"integer"},"product_permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/ProductPermissionProfileResponse"},"description":"A list of one or more products and their respective permissions."},"ds_groups":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupResponse"}},"company_name":{"type":"string","description":"The user's company name."},"job_title":{"type":"string","description":"The user's job title."},"license_status":{"type":"string"},"license_type":{"type":"string"},"plan_name":{"type":"string"},"subscription_id":{"type":"string"}},"title":"AddUserResponseAccountProperties"},"AddUserResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"site_id":{"type":"integer"},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"email":{"type":"string","description":"The email address."},"language_culture":{"type":"string","description":"The language and culture of the user.\n\n- Chinese Simplified: `zh_CN`\n- Chinese Traditional: `zh_TW`\n- Dutch: `nl`\n- English: `en`\n- French: `fr`\n- German: `de`\n- Italian: `it`\n- Japanese: `ja`\n- Korean: `ko`\n- Portuguese: `pt`\n- Portuguese Brazil: `pt_BR`\n- Russian: `ru`\n- Spanish: `es`"},"federated_status":{"type":"string","description":"The user's federated status. One of:\n\n- `RemoveStatus`\n- `FedAuthRequired`\n- `FedAuthBypass`\n- `Evicted`"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/AddUserResponseAccountProperties"}}},"title":"AddUserResponse"},"ProductPermissionProfilesRequest":{"type":"object","properties":{"product_permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/ProductPermissionProfileRequest"},"description":"A list of one or more products and their respective permissions."}},"required":["product_permission_profiles"],"title":"ProductPermissionProfilesRequest"},"UserProductPermissionProfilesResponse":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid","description":"The ID of the user."},"account_id":{"type":"string","format":"uuid","description":"The ID of the account."},"product_permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/ProductPermissionProfileResponse"},"description":"A list of one or more products and their respective permissions."}},"title":"UserProductPermissionProfilesResponse"},"UserProductPermissionProfilesRequest":{"type":"object","properties":{"email":{"type":"string","description":"The email address associated with the user whose permissions you want to update. This property is required."},"product_permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/ProductPermissionProfileRequest"},"description":"A list of one or more products and their associated permissions."}},"required":["email","product_permission_profiles"],"title":"UserProductPermissionProfilesRequest"},"DSGroupListResponse":{"type":"object","properties":{"page":{"type":"integer","description":"The page number."},"page_size":{"type":"integer","description":"The number of items per page."},"total_count":{"type":"integer"},"account_id":{"type":"string","format":"uuid","description":"Select users that are members of the specified account. At least one of `email`, `account_id` or `organization_reserved_domain_id` must be specified."},"ds_groups":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupResponse"}}},"title":"DSGroupListResponse"},"DSGroupUsersResponse":{"type":"object","properties":{"page":{"type":"integer","description":"The page number."},"page_size":{"type":"integer","description":"The number of items per page."},"total_count":{"type":"integer"},"users":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupUserResponse"},"description":"A list of users."}},"title":"DSGroupUsersResponse"},"DSGroupAndUsersResponse":{"type":"object","properties":{"group":{"$ref":"#/components/schemas/DSGroupResponse"},"group_users":{"$ref":"#/components/schemas/DSGroupUsersResponse"}},"title":"DSGroupAndUsersResponse"},"ProductPermissionProfilesResponse":{"type":"object","properties":{"product_permission_profiles":{"type":"array","items":{"$ref":"#/components/schemas/ProductPermissionProfileResponse"},"description":"A list of one or more products and their respective permissions."}},"title":"ProductPermissionProfilesResponse"},"DSGroupUsersRemoveRequest":{"type":"object","properties":{"user_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"An array of IDs corresponding to users to remove from the group."},"user_emails":{"type":"array","items":{"type":"string"},"description":"An array of emails associated with users to remove from the group. **Note:** If `user_ids` is also specified, this parameter will be ignored."}},"description":"Information about users to remove from the group.","title":"DSGroupUsersRemoveRequest"},"RemoveDSGroupUsersResponse":{"type":"object","properties":{"is_success":{"type":"boolean"},"failed_users":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupUserResponse"}}},"title":"RemoveDSGroupUsersResponse"},"UserProductProfileDeleteRequest":{"type":"object","properties":{"user_email":{"type":"string","description":"The user's email address."},"user_id":{"type":"string","format":"uuid","description":"The user's unique ID."},"product_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"A list of IDs corresponding to the products for which the user's access will be revoked.\n\nFor example:\n\n`[\"230546a7-xxxx-xxxx-xxxx-af205d5494ad\", \"984800b7-xxxx-xxxx-xxxx-kt374a5922lk\"]`"}},"required":["product_ids"],"title":"UserProductProfileDeleteRequest"},"RemoveUserProductsResponse":{"type":"object","properties":{"is_success":{"type":"boolean","description":"When **true,** indicates that the user's access to the specified products was successfully revoked."},"user_email":{"type":"string","description":"The user's email address."},"user_id":{"type":"string","format":"uuid","description":"The user's ID."},"user_product_results":{"type":"object","additionalProperties":{"type":"string"},"description":"The results of the request to revoke product access.\n\nEach key in the object is the ID of a product specified in the request. Each corresponding value indicates whether the user's access for that product was successfully revoked. If successful, the value is `deleted`. Otherwise, the value describes the error that occurred.\n\nFor example:\n\n```json\n{\n        \"230546a7-xxxx-xxxx-xxxx-af205d5494ad\"\": \"deleted\",\n        \"984800b7-xxxx-xxxx-xxxx-kt374a5922lk\": \"Invalid product id\"\n}\n```"}},"required":["is_success","user_product_results"],"title":"RemoveUserProductsResponse"},"OrganizationUserResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The user's unique ID."},"user_name":{"type":"string","description":"The full name of the user."},"first_name":{"type":"string","description":"The user's first name."},"last_name":{"type":"string","description":"The user's last name."},"user_status":{"type":"string","description":"The user's status. One of:\n\n- `active`\n- `created`\n- `closed`"},"membership_status":{"type":"string","description":"The user's membership status. One of:\n\n- `activation_required`\n- `activation_sent`\n- `active`\n- `closed`\n- `disabled`"},"email":{"type":"string","description":"The email address."},"created_on":{"type":"string","format":"date-time","description":"The date the user's account was created."},"membership_created_on":{"type":"string","format":"date-time","description":"The date on which the user became a member of the organization."},"ds_groups":{"type":"array","items":{"$ref":"#/components/schemas/DSGroupResponse"}},"membership_id":{"type":"string","format":"uuid"},"closed_on":{"type":"string","format":"date-time"},"is_managed_by_scim":{"type":"boolean"},"is_membership_managed_by_scim":{"type":"boolean"},"license_type":{"type":"string"},"membership_closed_on":{"type":"string","format":"date-time"},"plan_name":{"type":"string"},"subscription_id":{"type":"string"}},"description":"Information about a user.","title":"OrganizationUserResponse"},"OrganizationUsersResponse":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationUserResponse"},"description":"A list of users."},"paging":{"$ref":"#/components/schemas/PagingResponseProperties"}},"description":"A response containing information about users.","title":"OrganizationUsersResponse"},"UpdateUserEmailRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the users whose email address you want to change."},"site_id":{"type":"integer","description":"The site ID."},"email":{"type":"string","description":"The new email address."}},"required":["id","site_id","email"],"description":"And individual change of email.","title":"UpdateUserEmailRequest"},"UpdateUsersEmailRequest":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/UpdateUserEmailRequest"},"description":"A list of users whose email address to change."}},"description":"A change email request.","title":"UpdateUsersEmailRequest"}},"securitySchemes":{"accessCode":{"type":"http","scheme":"bearer","description":"OAuth2 Access code Grant"}}}}