{ "swagger": "2.0", "info": { "version": "v2.1", "title": "Docusign Admin API", "description": "An API for an organization administrator to manage organizations, accounts and users", "contact": { "name": "Docusign Developer Center", "url": "https://developers.docusign.com", "email": "devcenter@docusign.com" }, "termsOfService": "https://www.docusign.com/company/terms-and-conditions/developers" }, "host": "api.docusign.net", "basePath": "/Management", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "externalDocs": { "description": "See the Docusign Admin API Guide for more information.", "url": "https://developers.docusign.com/docs/admin-api/reference" }, "paths": { "/v2/organizations": { "get": { "tags": [ "Organization" ], "summary": "Returns a list of organizations that the authenticated user belongs to.", "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/).", "operationId": "Organization_Organization_GetListV2", "produces": [ "application/json" ], "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, "type": "string" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationsResponse" } } }, "security": [ { "accessCode": [ "organization_read" ] } ], "x-ds-methodname": "getOrganizations", "x-ds-method": "getOrganizations", "x-ds-service": "Accounts", "x-ds-in-sdk": true } }, "/v2/data_redaction/accounts/{accountId}/user": { "post": { "tags": [ "DataDeletion" ], "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* 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/)\n", "operationId": "DataRedaction_RedactIndividualMembershipData", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "accountId", "in": "path", "description": "The ID of the account from which to delete the user's data.\n", "required": true, "type": "string", "format": "uuid" }, { "name": "requestModel", "in": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/IndividualMembershipDataRedactionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/IndividualUserDataRedactionResponse" } } }, "security": [ { "accessCode": [ "user_data_redact" ] } ], "x-ds-methodname": "redactIndividualMembershipData", "x-ds-method": "redactIndividualMembershipData", "x-ds-service": "Accounts", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/accounts/{accountId}/permissions": { "get": { "tags": [ "eSignUserManagement" ], "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\n### Related topics\n\n- [How to create a new active eSignature user](/docs/admin-api/how-to/create-active-user/)\n", "operationId": "Account_Accounts_GetPermissionProfilesV2", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "accountId", "in": "path", "description": "The account ID Guid", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/PermissionsResponse" } } }, "security": [ { "accessCode": [ "permission_read" ] } ], "x-ds-methodname": "getPermissions", "x-ds-method": "getPermissions", "x-ds-service": "Accounts", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/accounts/{accountId}/groups": { "get": { "tags": [ "eSignUserManagement" ], "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\n\n### Related topics\n\n- [How to create a new active eSignature user](/docs/admin-api/how-to/create-active-user/)", "operationId": "Account_Accounts_GetGroupsV2", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "accountId", "in": "path", "description": "The account ID Guid", "required": true, "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, "type": "integer", "format": "int32" }, { "name": "take", "in": "query", "description": "Page size of the response. The default value is 20.", "required": false, "type": "integer", "format": "int32" }, { "name": "end", "in": "query", "description": "Index of the last item to include in the response. Ignored if `take` parameter is specified.", "required": false, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/MemberGroupsResponse" } } }, "security": [ { "accessCode": [ "group_read" ] } ], "x-ds-methodname": "getGroups", "x-ds-method": "getGroups", "x-ds-service": "Accounts", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/exports/user_list": { "get": { "tags": [ "UserExport" ], "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`.\n", "operationId": "OrganizationExport_OrganizationExport_Get", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationExportsResponse" } } }, "security": [ { "accessCode": [ "user_read" ] } ], "x-ds-methodname": "getUserListExports", "x-ds-method": "getUserListExports", "x-ds-service": "BulkExports", "x-ds-in-sdk": true }, "post": { "tags": [ "UserExport" ], "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\t\"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* See [how this endpoint is used to bulk export user data](/docs/admin-api/how-to/bulk-export-users/).", "operationId": "OrganizationExport_OrganizationExport_Insert", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "request", "in": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/OrganizationExportRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationExportResponse" } } }, "security": [ { "accessCode": [ "user_read" ] } ], "x-ds-methodname": "createUserListExport", "x-ds-method": "createUserListExport", "x-ds-service": "BulkExports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/exports/account_settings": { "get": { "tags": [ "AccountSettingsExport" ], "summary": "Returns a list of pending and completed account settings export request.", "description": "Returns a list of pending and completed account settings export requests.\n\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.", "operationId": "OrganizationExport_OrganizationExport_GetAccountCompare", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationExportsResponse" } } }, "security": [ { "accessCode": [ "account_read" ] } ], "x-ds-methodname": "getAccountSettingsExports", "x-ds-method": "getAccountSettingsExports", "x-ds-service": "BulkExports", "x-ds-in-sdk": true }, "post": { "tags": [ "AccountSettingsExport" ], "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][guide-export]\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 \t{ \"account_id\": \"9ca037f4-xxxx-xxxx-xxxx-212e57d4f22e\"},\n \t{ \"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][guide-import] guide\n- [Account Settings Export][guide-export] guide\n\n\n[guide-import]: https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=nwl1583359167434.html\n[guide-export]: https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=kfj1583359164049.html", "operationId": "OrganizationExport_OrganizationExport_AccountCompare", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "request", "in": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/OrganizationAccountsRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationExportResponse" } } }, "security": [ { "accessCode": [ "account_read" ] } ], "x-ds-methodname": "createAccountSettingsExport", "x-ds-method": "createAccountSettingsExport", "x-ds-service": "BulkExports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/exports/user_list/{exportId}": { "get": { "tags": [ "UserExport" ], "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* See [how this endpoint is used to bulk export user data](/docs/admin-api/how-to/bulk-export-users/).", "operationId": "OrganizationExport_OrganizationExport_GetByExportId", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "exportId", "in": "path", "description": "The export ID GUID for the request.", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationExportResponse" } } }, "security": [ { "accessCode": [ "user_read" ] } ], "x-ds-methodname": "getUserListExport", "x-ds-method": "getUserListExport", "x-ds-service": "BulkExports", "x-ds-in-sdk": true }, "delete": { "tags": [ "UserExport" ], "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`.\n\n", "operationId": "OrganizationExport_OrganizationExport_DeleteByExportId", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "exportId", "in": "path", "description": "The export ID GUID for the request.", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "type": "object" } } }, "security": [ { "accessCode": [ "user_read" ] } ], "x-ds-methodname": "deleteUserListExport", "x-ds-method": "deleteUserListExport", "x-ds-service": "BulkExports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/exports/account_settings/{exportId}": { "get": { "tags": [ "AccountSettingsExport" ], "summary": "Returns the results for a single account settings export request.", "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\n[Required authentication scopes](/docs/admin-api/admin101/auth/): `account_read`.", "operationId": "OrganizationExport_OrganizationExport_GetAccountSettingsExportByExportId", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "exportId", "in": "path", "description": "The export ID GUID for the request.", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationExportResponse" } } }, "security": [ { "accessCode": [ "account_read" ] } ], "x-ds-methodname": "getAccountSettingsExport", "x-ds-method": "getAccountSettingsExport", "x-ds-service": "BulkExports", "x-ds-in-sdk": true }, "delete": { "tags": [ "AccountSettingsExport" ], "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`.\n", "operationId": "OrganizationExport_OrganizationExport_DeleteByAccountSettingsExportId", "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "exportId", "in": "path", "description": "The export ID GUID for the request.", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "type": "object" } } }, "security": [ { "accessCode": [ "account_read" ] } ], "x-ds-methodname": "deleteAccountSettingsExport", "x-ds-method": "deleteAccountSettingsExport", "x-ds-service": "BulkExports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/imports/account_settings": { "get": { "tags": [ "AccountSettingsImport" ], "summary": "Returns the details and metadata for Bulk Account Settings Import requests in the organization.", "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`.", "operationId": "OrganizationImport_OrganizationImportAccountSettings_Get", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/OrganizationAccountSettingsImportResponse" } } } }, "security": [ { "accessCode": [ "account_read" ] } ], "x-ds-methodname": "getBulkAccountSettingsImports", "x-ds-method": "getBulkAccountSettingsImports", "x-ds-service": "BulkImports", "x-ds-in-sdk": true }, "post": { "tags": [ "AccountSettingsImport" ], "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\n\nTo learn more about the format\nof a settings CSV file, see\n[Preparing a CSV for account settings import][guide-import]\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][guide-import] guide\n- [Account Settings Export][guide-export] guide\n\n[guide-import]: https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=nwl1583359167434.html\n[guide-export]: https://support.docusign.com/s/document-item?bundleId=rrf1583359212854&topicId=kfj1583359164049.html\n", "operationId": "OrganizationImport_OrganizationImportAccountSettings_Post", "consumes": [ "multipart/form-data" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID GUID.", "required": true, "type": "string", "format": "uuid" }, { "name": "file.csv", "in": "formData", "description": "CSV file.", "required": true, "type": "file" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationAccountSettingsImportResponse" } } }, "security": [ { "accessCode": [ "account_write" ] } ], "x-ds-methodname": "addBulkAccountSettingsImport", "x-ds-method": "addBulkAccountSettingsImport", "x-ds-service": "BulkImports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/imports/account_settings/{importId}": { "get": { "tags": [ "AccountSettingsImport" ], "summary": "Returns the details/metadata for a 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`.\n", "operationId": "OrganizationImport_OrganizationImportAccountSettings_GetById", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "importId", "in": "path", "description": "The import ID GUID for the request.", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationAccountSettingsImportResponse" } } }, "security": [ { "accessCode": [ "account_read" ] } ], "x-ds-methodname": "getBulkAccountSettingsImport", "x-ds-method": "getBulkAccountSettingsImport", "x-ds-service": "BulkImports", "x-ds-in-sdk": true }, "delete": { "tags": [ "AccountSettingsImport" ], "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`.", "operationId": "OrganizationImport_OrganizationImportAccountSettings_DeleteById", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "importId", "in": "path", "description": "The import ID GUID for the request.", "required": true, "type": "string", "format": "uuid" } ], "responses": { "200": { "description": "OK", "schema": { "type": "object" } } }, "security": [ { "accessCode": [ "account_write" ] } ], "x-ds-methodname": "deleteBulkAccountSettingsImport", "x-ds-method": "deleteBulkAccountSettingsImport", "x-ds-service": "BulkImports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/imports/bulk_users/add": { "post": { "tags": [ "UserImport" ], "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* See an [example of adding users via bulk import in your chosen programming language](/docs/admin-api/how-to/add-users-bulk-import/).\n", "operationId": "OrganizationImport_OrganizationImportUsers_Insert", "consumes": [ "multipart/form-data" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "file.csv", "in": "formData", "description": "CSV file.", "required": true, "type": "file" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationImportResponse" } } }, "security": [ { "accessCode": [ "user_write" ] } ], "x-ds-methodname": "addBulkUserImport", "x-ds-method": "addBulkUserImport", "x-ds-service": "BulkImports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/accounts/{accountId}/imports/bulk_users/add": { "post": { "tags": [ "SingleAccountUserImport" ], "summary": "Import request for adding a user to a single account within the organization.", "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`.\n", "operationId": "OrganizationImport_OrganizationImportSingleAccountUsers_Insert", "consumes": [ "multipart/form-data" ], "produces": [ "application/json" ], "parameters": [ { "name": "organizationId", "in": "path", "description": "The organization ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "accountId", "in": "path", "description": "The account ID Guid", "required": true, "type": "string", "format": "uuid" }, { "name": "file.csv", "in": "formData", "description": "CSV file.", "required": true, "type": "file" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/OrganizationImportResponse" } } }, "security": [ { "accessCode": [ "user_write" ] } ], "x-ds-methodname": "createBulkImportSingleAccountAddUsersRequest", "x-ds-method": "createBulkImportSingleAccountAddUsersRequest", "x-ds-service": "BulkImports", "x-ds-in-sdk": true } }, "/v2/organizations/{organizationId}/imports/bulk_users/update": { "post": { "tags": [ "UserImport" ], "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\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\n\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)\n as 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\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:
zh_CNzh_TWnlenfrdeitjakoptpt_BRrues