docusign.dsadmin
Module docusign.dsadmin
API
Definitions
ballerinax/docusign.dsadmin Ballerina library
Overview
DocuSign is a digital transaction management platform that enables users to securely sign, send, and manage documents electronically.
The DocuSign Admin connector integrates with the DocuSign platform, providing APIs to efficiently manage DocuSign users and permissions across all accounts and domains. It supports DocuSign Admin API V2.
Key Features
- Securely sign, send, and manage documents electronically
- Efficiently manage DocuSign users and permissions
- Support for DocuSign Admin API V2
- Manage accounts and domains seamlessly
Setup guide
To utilize the DocuSign Admin connector, you must have access to the DocuSign REST API through a DocuSign account.
Step 1: Create a DocuSign account
In order to use the DocuSign Admin connector, you need to first create the DocuSign credentials for the connector to interact with DocuSign.
-
You can create an account for free at the Developer Center.

Step 2: Create integration key and secret key
-
Create an integration key: Visit the Apps and Keys page on DocuSign. Click on
Add App and Integration Key,provide a name for the app, and clickCreate App. This will generate anIntegration Key.
-
Generate a secret key: Under the
Authenticationsection, click onAdd Secret Key. This will generate a secret Key. Make sure to copy and save both theIntegration KeyandSecret Key.
Step 3: Generate refresh token
-
Add a redirect URI: Click on
Add URIand enter your redirect URI (e.g., http://www.example.com/callback).
-
Generate the encoded key: The
Encoded Keyis a base64 encoded string of yourIntegration keyandSecret Keyin the format{IntegrationKey:SecretKey}. You can generate this in your web browser's console using thebtoa()function:btoa('IntegrationKey:SecretKey'). You can either generate the encoded key from an online base64 encoder. -
Get the authorization code: Visit the following URL in your web browser, replacing
{iKey}with your Integration Key and{redirectUri}with your redirect URI.https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20organization_read%20group_read%20account_read%20permission_read%20user_read%20user_write&client_id={iKey}&redirect_uri={redirectUri}This will redirect you to your redirect URI with a
codequery parameter. This is yourauthorization code. -
Get the refresh token: Use the following
curlcommand to get the refresh token, replacing{encodedKey}with your Encoded Key and{codeFromUrl}with yourauthorization code.curl --location 'https://account-d.docusign.com/oauth/token' \ --header 'Authorization: Basic {encodedKey}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'code={codeFromUrl}' \ --data-urlencode 'grant_type=authorization_code'The response will contain your refresh token. Use `https://account-d.docusign.com/oauth/token' as the refresh URL.
Remember to replace {IntegrationKey:SecretKey}, {iKey}, {redirectUri}, {encodedKey}, and {codeFromUrl} with your actual values.
Above is about using the DocuSign Admin API in the developer mode. If your app is ready to go live, you need to follow the guidelines given here to make it work.
Quickstart
To use the DocuSign Click connector in your Ballerina project, modify the .bal file as follows.
Step 1: Import the module
Import the ballerinax/docusign.dsadmin module into your Ballerina project.
import ballerinax/docusign.dsadmin;
Step 2: Instantiate a new connector
Create a dsadmin:ConnectionConfig with the obtained OAuth2.0 tokens and initialize the connector with it.
configurable string clientId = ?; configurable string clientSecret = ?; configurable string refreshToken = ?; configurable string refreshUrl = ?; dsadmin:Client docuSignClient = check new({ auth: { clientId, clientSecret, refreshToken, refreshUrl } });
Step 3: Invoke the connector operation
You can now utilize the operations available within the connector.
public function main() returns error? { dsadmin:OrganizationsResponse orgResponse = check docuSignClient->/v2/organizations(); io:println("Organizations: ", orgResponse); dsadmin:OrganizationResponse[]? organizations = orgResponse.organizations; if organizations !is dsadmin:OrganizationResponse[] { io:println("Error: organizations not found"); return; } dsadmin:OrganizationResponse organization = organizations[0]; dsadmin:NewUserResponse newUserResponse = check docuSignClient->/v2/organizations/[<string>organization.id]/users.post( { user_name: "user1", first_name: "name1", email: "user1@docusignmail.com", accounts: [ { id: accountId, company_name: "Company" } ] } ); io:println("New user created: ", newUserResponse); }
Step 4: Run the Ballerina application
Use the following command to compile and run the Ballerina program.
bal run
Examples
The DocuSign Admin connector provides practical examples illustrating usage in various scenarios. Explore these examples.
-
Manage user information with DocuSign Admin This example shows how to use DocuSign Admin API to to create users and retrieve user informations related to eSignature tasks.
-
Access permissions in user accounts This example shows how to use DocuSign Admin API to to view permission details of the user accounts.
Clients
docusign.dsadmin: Client
An API for an organization administrator to manage organizations, accounts and users
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector
- serviceUrl string "https://api.docusign.net/Management" - URL of the target service
get v2/organizations
function get v2/organizations(map<string|string[]> headers, *OrganizationOrganizationGetListV2Queries queries) returns OrganizationsResponse|errorReturns a list of organizations that the authenticated user belongs to.
Parameters
- queries *OrganizationOrganizationGetListV2Queries - Queries to be sent with the request
Return Type
- OrganizationsResponse|error - A successful response or an error
post v2/data_redaction/accounts/[string accountId]/user
function post v2/data_redaction/accounts/[string accountId]/user(IndividualMembershipDataRedactionRequest payload, map<string|string[]> headers) returns IndividualUserDataRedactionResponse|errorDeletes membership data for a user on an account.
Parameters
- payload IndividualMembershipDataRedactionRequest -
Return Type
- IndividualUserDataRedactionResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/accounts/[string accountId]/permissions
function get v2/organizations/[string organizationId]/accounts/[string accountId]/permissions(map<string|string[]> headers) returns PermissionsResponse|errorReturns the list of permission profiles in an account.
Return Type
- PermissionsResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/accounts/[string accountId]/groups
function get v2/organizations/[string organizationId]/accounts/[string accountId]/groups(map<string|string[]> headers, *AccountAccountsGetGroupsV2Queries queries) returns MemberGroupsResponse|errorReturns the list of groups in an account.
Parameters
- queries *AccountAccountsGetGroupsV2Queries - Queries to be sent with the request
Return Type
- MemberGroupsResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/exports/user_list
function get v2/organizations/[string organizationId]/exports/user_list(map<string|string[]> headers) returns OrganizationExportsResponse|errorReturns a list of pending and completed export requests.
Return Type
- OrganizationExportsResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/exports/user_list
function post v2/organizations/[string organizationId]/exports/user_list(OrganizationExportRequest payload, map<string|string[]> headers) returns OrganizationExportResponse|errorCreates a user list export request.
Parameters
- payload OrganizationExportRequest -
Return Type
- OrganizationExportResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/exports/account_settings
function get v2/organizations/[string organizationId]/exports/account_settings(map<string|string[]> headers) returns OrganizationExportsResponse|errorReturns a list of pending and completed account settings export request.
Return Type
- OrganizationExportsResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/exports/account_settings
function post v2/organizations/[string organizationId]/exports/account_settings(OrganizationAccountsRequest payload, map<string|string[]> headers) returns OrganizationExportResponse|errorCreates a new account settings export request.
Parameters
- payload OrganizationAccountsRequest -
Return Type
- OrganizationExportResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/exports/user_list/[string exportId]
function get v2/organizations/[string organizationId]/exports/user_list/[string exportId](map<string|string[]> headers) returns OrganizationExportResponse|errorReturns the results for single user list export request.
Return Type
- OrganizationExportResponse|error - A successful response or an error
delete v2/organizations/[string organizationId]/exports/user_list/[string exportId]
function delete v2/organizations/[string organizationId]/exports/user_list/[string exportId](map<string|string[]> headers) returns record {}|errorDeletes a single user list export request.
Return Type
- record {}|error - A successful response or an error
get v2/organizations/[string organizationId]/exports/account_settings/[string exportId]
function get v2/organizations/[string organizationId]/exports/account_settings/[string exportId](map<string|string[]> headers) returns OrganizationExportResponse|errorReturns the results for a single account settings export request.
Return Type
- OrganizationExportResponse|error - A successful response or an error
delete v2/organizations/[string organizationId]/exports/account_settings/[string exportId]
function delete v2/organizations/[string organizationId]/exports/account_settings/[string exportId](map<string|string[]> headers) returns record {}|errorDeletes a single account settings export request.
Return Type
- record {}|error - A successful response or an error
get v2/organizations/[string organizationId]/imports/account_settings
function get v2/organizations/[string organizationId]/imports/account_settings(map<string|string[]> headers) returns OrganizationAccountSettingsImportResponse[]|errorReturns the details and metadata for Bulk Account Settings Import requests in the organization.
Return Type
- OrganizationAccountSettingsImportResponse[]|error - A successful response or an error
post v2/organizations/[string organizationId]/imports/account_settings
function post v2/organizations/[string organizationId]/imports/account_settings(ImportsAccountSettingsBody payload, map<string|string[]> headers) returns OrganizationAccountSettingsImportResponse|errorCreates a new account settings import request.
Parameters
- payload ImportsAccountSettingsBody -
Return Type
- OrganizationAccountSettingsImportResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/imports/account_settings/[string importId]
function get v2/organizations/[string organizationId]/imports/account_settings/[string importId](map<string|string[]> headers) returns OrganizationAccountSettingsImportResponse|errorReturns the details/metadata for a Bulk Account Settings Import request.
Return Type
- OrganizationAccountSettingsImportResponse|error - A successful response or an error
delete v2/organizations/[string organizationId]/imports/account_settings/[string importId]
function delete v2/organizations/[string organizationId]/imports/account_settings/[string importId](map<string|string[]> headers) returns record {}|errorDeletes a Bulk Account Settings Import request.
Return Type
- record {}|error - A successful response or an error
post v2/organizations/[string organizationId]/imports/bulk_users/add
function post v2/organizations/[string organizationId]/imports/bulk_users/add(BulkUsersAddBody payload, map<string|string[]> headers) returns OrganizationImportResponse|errorCreates a request to import new users into an account.
Parameters
- payload BulkUsersAddBody -
Return Type
- OrganizationImportResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/accounts/[string accountId]/imports/bulk_users/add
function post v2/organizations/[string organizationId]/accounts/[string accountId]/imports/bulk_users/add(BulkUsersAddBody1 payload, map<string|string[]> headers) returns OrganizationImportResponse|errorImport request for adding a user to a single account within the organization.
Parameters
- payload BulkUsersAddBody1 -
Return Type
- OrganizationImportResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/imports/bulk_users/update
function post v2/organizations/[string organizationId]/imports/bulk_users/update(BulkUsersUpdateBody payload, map<string|string[]> headers) returns OrganizationImportResponse|errorBulk updates information for existing users.
Parameters
- payload BulkUsersUpdateBody -
Return Type
- OrganizationImportResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/accounts/[string accountId]/imports/bulk_users/update
function post v2/organizations/[string organizationId]/accounts/[string accountId]/imports/bulk_users/update(BulkUsersUpdateBody1 payload, map<string|string[]> headers) returns OrganizationImportResponse|errorImport request for updating users for a single account within the organization.
Parameters
- payload BulkUsersUpdateBody1 -
Return Type
- OrganizationImportResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/imports/bulk_users/close
function post v2/organizations/[string organizationId]/imports/bulk_users/close(BulkUsersCloseBody payload, map<string|string[]> headers) returns OrganizationImportResponse|errorCreates a request to close the accounts of existing users.
Parameters
- payload BulkUsersCloseBody -
Return Type
- OrganizationImportResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/imports/bulk_users/close_external
function post v2/organizations/[string organizationId]/imports/bulk_users/close_external(map<string|string[]> headers) returns OrganizationImportResponse|errorCloses external memberships.
Return Type
- OrganizationImportResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/imports/bulk_users
function get v2/organizations/[string organizationId]/imports/bulk_users(map<string|string[]> headers) returns OrganizationImportsResponse|errorGets a list of all of the user import requests.
Return Type
- OrganizationImportsResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/imports/bulk_users/[string importId]
function get v2/organizations/[string organizationId]/imports/bulk_users/[string importId](map<string|string[]> headers) returns OrganizationImportResponse|errorReturns the details of a single user import request.
Return Type
- OrganizationImportResponse|error - A successful response or an error
delete v2/organizations/[string organizationId]/imports/bulk_users/[string importId]
function delete v2/organizations/[string organizationId]/imports/bulk_users/[string importId](map<string|string[]> headers) returns record {}|errorDeletes a specific user import request.
Return Type
- record {}|error - A successful response or an error
get v2/organizations/[string organizationId]/imports/bulk_users/[string importId]/results_csv
function get v2/organizations/[string organizationId]/imports/bulk_users/[string importId]/results_csv(map<string|string[]> headers) returns string|errorGiven the ID of a user import request, return the CSV file that was imported.
get v2/organizations/[string organizationId]/identity_providers
function get v2/organizations/[string organizationId]/identity_providers(map<string|string[]> headers) returns IdentityProvidersResponse|errorReturns the list of identity providers for an organization.
Return Type
- IdentityProvidersResponse|error - A successful response or an error
post v2/data_redaction/organizations/[string organizationId]/user
function post v2/data_redaction/organizations/[string organizationId]/user(IndividualUserDataRedactionRequest payload, map<string|string[]> headers) returns IndividualUserDataRedactionResponse|errorDeletes data for one or more of a user's account memberships.
Parameters
- payload IndividualUserDataRedactionRequest -
Return Type
- IndividualUserDataRedactionResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/reserved_domains
function get v2/organizations/[string organizationId]/reserved_domains(map<string|string[]> headers) returns DomainsResponse|errorReturns the list of reserved domains for the organization.
Return Type
- DomainsResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/users/profiles
function post v2/organizations/[string organizationId]/users/profiles(UpdateUsersRequest payload, map<string|string[]> headers) returns UsersUpdateResponse|errorUpdates a user's information.
Parameters
- payload UpdateUsersRequest -
Return Type
- UsersUpdateResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/users/email_addresses
function post v2/organizations/[string organizationId]/users/email_addresses(UpdateUsersEmailRequest payload, map<string|string[]> headers) returns UsersUpdateResponse|errorUpdates a user's email address.
Parameters
- payload UpdateUsersEmailRequest -
Return Type
- UsersUpdateResponse|error - A successful response or an error
delete v2/organizations/[string organizationId]/users/[string userId]/accounts
function delete v2/organizations/[string organizationId]/users/[string userId]/accounts(DeleteMembershipsRequest payload, map<string|string[]> headers) returns DeleteMembershipsResponse|errorCloses a user's memberships.
Parameters
- payload DeleteMembershipsRequest -
Return Type
- DeleteMembershipsResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/users
function get v2/organizations/[string organizationId]/users(map<string|string[]> headers, *OrganizationUserOrganizationUsersGetV2Queries queries) returns OrganizationUsersResponse|errorReturns information about the users in an organization.
Parameters
- queries *OrganizationUserOrganizationUsersGetV2Queries - Queries to be sent with the request
Return Type
- OrganizationUsersResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/users
function post v2/organizations/[string organizationId]/users(NewUserRequest payload, map<string|string[]> headers) returns NewUserResponse|errorCreates a new user.
Parameters
- payload NewUserRequest -
Return Type
- NewUserResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/users/[string userId]/memberships/[string membershipId]
function post v2/organizations/[string organizationId]/users/[string userId]/memberships/[string membershipId](ForceActivateMembershipRequest payload, map<string|string[]> headers) returns UpdateResponse|errorActivates user memberships.
Parameters
- payload ForceActivateMembershipRequest -
Return Type
- UpdateResponse|error - A successful response or an error
get v2/organizations/[string organizationId]/users/profile
function get v2/organizations/[string organizationId]/users/profile(map<string|string[]> headers, *OrganizationUserOrganizationUsersGetProfileV2Queries queries) returns UsersDrilldownResponse|errorReturns historical information about users with a specific email address.
Parameters
- queries *OrganizationUserOrganizationUsersGetProfileV2Queries - Queries to be sent with the request
Return Type
- UsersDrilldownResponse|error - A successful response or an error
delete v2/organizations/[string organizationId]/users/[string userId]/identities
function delete v2/organizations/[string organizationId]/users/[string userId]/identities(DeleteUserIdentityRequest payload, map<string|string[]> headers) returns DeleteResponse|errorDeletes user identities.
Parameters
- payload DeleteUserIdentityRequest -
Return Type
- DeleteResponse|error - A successful response or an error
post v2/organizations/[string organizationId]/accounts/[string accountId]/users
function post v2/organizations/[string organizationId]/accounts/[string accountId]/users(NewAccountUserRequest payload, map<string|string[]> headers) returns NewUserResponse|errorAdds users to an account.
Parameters
- payload NewAccountUserRequest -
Return Type
- NewUserResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups
function get v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups(map<string|string[]> headers, *DocuSignGroupsv21GetDSGroupsV21Queries queries) returns DSGroupListResponse|errorReturns a list of DSGroups.
Parameters
- queries *DocuSignGroupsv21GetDSGroupsV21Queries - Queries to be sent with the request
Return Type
- DSGroupListResponse|error - A successful response or an error
post v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups
function post v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups(DSGroupAddRequest payload, map<string|string[]> headers) returns DSGroupResponse|errorCreates a new DSGroup.
Parameters
- payload DSGroupAddRequest -
Return Type
- DSGroupResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]
function get v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId](map<string|string[]> headers) returns DSGroupResponse|errorReturns details about a single DSGroup.
Return Type
- DSGroupResponse|error - A successful response or an error
delete v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]
function delete v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId](map<string|string[]> headers) returns error?Deletes a DSGroup.
Return Type
- error? - No Content
get v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]/users
function get v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]/users(map<string|string[]> headers, *DocuSignGroupsv21GetDSGroupUsersV21Queries queries) returns DSGroupAndUsersResponse|errorGets a list of users in a DSGroup.
Parameters
- queries *DocuSignGroupsv21GetDSGroupUsersV21Queries - Queries to be sent with the request
Return Type
- DSGroupAndUsersResponse|error - A successful response or an error
post v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]/users
function post v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]/users(DSGroupUsersAddRequest payload, map<string|string[]> headers) returns AddDSGroupAndUsersResponse|errorAdds a list of users to a DSGroup.
Parameters
- payload DSGroupUsersAddRequest -
Return Type
- AddDSGroupAndUsersResponse|error - A successful response or an error
delete v2.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]/users
function delete v2\.1/organizations/[string organizationId]/accounts/[string accountId]/dsgroups/[string dsGroupId]/users(DSGroupUsersRemoveRequest payload, map<string|string[]> headers) returns RemoveDSGroupUsersResponse|errorRemoves a list of users from a DSGroup.
Parameters
- payload DSGroupUsersRemoveRequest -
Return Type
- RemoveDSGroupUsersResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/accounts/[string accountId]/products/permission_profiles
function get v2\.1/organizations/[string organizationId]/accounts/[string accountId]/products/permission_profiles(map<string|string[]> headers) returns ProductPermissionProfilesResponse|errorGets products associated with the account and the available permission profiles.
Return Type
- ProductPermissionProfilesResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/accounts/[string accountId]/products/users/[string userId]/permission_profiles
function get v2\.1/organizations/[string organizationId]/accounts/[string accountId]/products/users/[string userId]/permission_profiles(map<string|string[]> headers) returns ProductPermissionProfilesResponse|errorRetrieves a user's product permission profiles by user ID.
Return Type
- ProductPermissionProfilesResponse|error - A successful response or an error
post v2.1/organizations/[string organizationId]/accounts/[string accountId]/products/users/[string userId]/permission_profiles
function post v2\.1/organizations/[string organizationId]/accounts/[string accountId]/products/users/[string userId]/permission_profiles(ProductPermissionProfilesRequest payload, map<string|string[]> headers) returns UserProductPermissionProfilesResponse|errorAssigns permission profiles for a user by user ID.
Parameters
- payload ProductPermissionProfilesRequest -
Return Type
- UserProductPermissionProfilesResponse|error - A successful response or an error
post v2.1/organizations/[string organizationId]/accounts/[string accountId]/users
function post v2\.1/organizations/[string organizationId]/accounts/[string accountId]/users(NewMultiProductUserAddRequest payload, map<string|string[]> headers) returns AddUserResponse|errorCreates and updates a multi-product user.
Parameters
- payload NewMultiProductUserAddRequest -
Return Type
- AddUserResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/users/dsprofile
function get v2\.1/organizations/[string organizationId]/users/dsprofile(map<string|string[]> headers, *OrganizationUserOrganizationUsersGetDSProfilesQueries queries) returns UsersDrilldownResponse|errorRetrieves the DS profile for a user specified by email address.
Parameters
- queries *OrganizationUserOrganizationUsersGetDSProfilesQueries - Queries to be sent with the request
Return Type
- UsersDrilldownResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/users/[string userId]/dsprofile
function get v2\.1/organizations/[string organizationId]/users/[string userId]/dsprofile(map<string|string[]> headers, *OrganizationUserOrganizationUsersGetDSProfileByUserIdQueries queries) returns UsersDrilldownResponse|errorRetrieves the DS profile for a user specified by ID.
Parameters
- queries *OrganizationUserOrganizationUsersGetDSProfileByUserIdQueries - Queries to be sent with the request
Return Type
- UsersDrilldownResponse|error - A successful response or an error
delete v2.1/organizations/[string organizationId]/accounts/[string accountId]/products/users
function delete v2\.1/organizations/[string organizationId]/accounts/[string accountId]/products/users(UserProductProfileDeleteRequest payload, map<string|string[]> headers) returns RemoveUserProductsResponse|errorRevokes a user's access to one or more products.
Parameters
- payload UserProductProfileDeleteRequest -
Return Type
- RemoveUserProductsResponse|error - A successful response or an error
get v2.1/organizations/[string organizationId]/accounts/[string accountId]/products/permission_profiles/users
function get v2\.1/organizations/[string organizationId]/accounts/[string accountId]/products/permission_profiles/users(map<string|string[]> headers, *OrganizationProductPermissionProfileGetUserProductPermissionProfilesByEmailQueries queries) returns UserProductPermissionProfilesResponse|errorRetrieves a user's product permission profiles by email address.
Parameters
- queries *OrganizationProductPermissionProfileGetUserProductPermissionProfilesByEmailQueries - Queries to be sent with the request
Return Type
- UserProductPermissionProfilesResponse|error - A successful response or an error
post v2.1/organizations/[string organizationId]/accounts/[string accountId]/products/permission_profiles/users
function post v2\.1/organizations/[string organizationId]/accounts/[string accountId]/products/permission_profiles/users(UserProductPermissionProfilesRequest payload, map<string|string[]> headers) returns UserProductPermissionProfilesResponse|errorAssigns permission profiles for a user by email address.
Parameters
- payload UserProductPermissionProfilesRequest -
Return Type
- UserProductPermissionProfilesResponse|error - A successful response or an error
get v1/organizations/[string organizationId]/assetGroups/accounts
function get v1/organizations/[string organizationId]/assetGroups/accounts(map<string|string[]> headers, *OrganizationProvisionAssetGroupGetAssetGroupAccountsByOrgQueries queries) returns AssetGroupAccountsResponse|errorGet asset group accounts for an organization.
Parameters
- queries *OrganizationProvisionAssetGroupGetAssetGroupAccountsByOrgQueries - Queries to be sent with the request
Return Type
- AssetGroupAccountsResponse|error - A successful response or an error
post v1/organizations/[string organizationId]/assetGroups/accountClone
function post v1/organizations/[string organizationId]/assetGroups/accountClone(AssetGroupAccountClone payload, map<string|string[]> headers) returns AssetGroupAccountClone|errorClone an existing DocuSign account.
Parameters
- payload AssetGroupAccountClone -
Return Type
- AssetGroupAccountClone|error - A successful response or an error
get v1/organizations/[string organizationId]/assetGroups/accountClones
function get v1/organizations/[string organizationId]/assetGroups/accountClones(map<string|string[]> headers, *OrganizationProvisionAssetGroupGetAssetGroupAccountClonesByOrgIdQueries queries) returns AssetGroupAccountClones|errorGets all asset group account clones for an organization.
Parameters
- queries *OrganizationProvisionAssetGroupGetAssetGroupAccountClonesByOrgIdQueries - Queries to be sent with the request
Return Type
- AssetGroupAccountClones|error - A successful response or an error
get v1/organizations/[string organizationId]/assetGroups/[string assetGroupId]/accountClones/[string assetGroupWorkId]
function get v1/organizations/[string organizationId]/assetGroups/[string assetGroupId]/accountClones/[string assetGroupWorkId](map<string|string[]> headers, *OrganizationProvisionAssetGroupGetAssetGroupAccountCloneQueries queries) returns AssetGroupAccountClone|errorGets information about a single cloned account.
Parameters
- queries *OrganizationProvisionAssetGroupGetAssetGroupAccountCloneQueries - Queries to be sent with the request
Return Type
- AssetGroupAccountClone|error - A successful response or an error
Records
docusign.dsadmin: AccountAccountsGetGroupsV2Queries
Represents the Queries record for the operation: Account_Accounts_GetGroupsV2
Fields
- take? Signed32 - Page size of the response. The default value is 20
- 'start? Signed32 - Index of first item to include in the response. The default value is 0
- end? Signed32 - Index of the last item to include in the response. Ignored if
takeparameter is specified
docusign.dsadmin: AddDSGroupAndUsersResponse
Fields
- groupUsers? AddDSGroupUsersResponse -
- group? DSGroupResponse -
docusign.dsadmin: AddDSGroupUsersResponse
Fields
- totalCount? Signed32 -
- isSuccess? boolean -
- users? DSGroupUserResponse[] - A list of users
docusign.dsadmin: AddUserResponse
Fields
- userName? string - The full name of the user
- siteId? Signed32 -
- lastName? string - The user's last name
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- id? string -
- accounts? AddUserResponseAccountProperties[] -
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- firstName? string - The user's first name
- email? string - The email address
docusign.dsadmin: AddUserResponseAccountProperties
Fields
- dsGroups? DSGroupResponse[] -
- productPermissionProfiles? ProductPermissionProfileResponse[] - A list of one or more products and their respective permissions
- companyName? string - The user's company name
- siteId? Signed32 -
- id? string -
- jobTitle? string - The user's job title
docusign.dsadmin: AssetGroupAccountClone
The account that is cloned
Fields
- createdByName? string - The name of the user who initiated the clone request
- sourceAccount AssetGroupAccountCloneSourceAccount -
- orderId? string - Reserved for DocuSign
- cloneProcessingFailureDetails? CloneErrorDetails -
- message? string - A message providing information about the clone request. If the request resulted in an error, this message includes specific information about the error
- assetGroupId? string - The ID of the asset group to which the account belongs. Use this value to retrieve information about the clone request with the getAssetGroupAccountClone endpoint
- assetGroupWorkType? "Undefined"|"GroupAssetFulfillment"|"AccountAssetFulfillment"|"AccountAssetClone"|"AccountAssetCreate" - The type of asset group work
- createdByEmail? string - The email address of the user who initiated the clone request
- cloneRequestId? string - Reserved for DocuSign
- createdDate? string - The date that the clone request was initiated
- targetAccount AssetGroupAccountCloneTargetAccount - An object describing the target cloned account
- assetGroupWorkId? string - The ID of the job that is created by the request. Use this value to retrieve information about the clone request with the getAssetGroupAccountClone endpoint
- status? "Undefined"|"Pending"|"Processing"|"PendingError"|"ProcessingError"|"Completed"|"Canceled"|"PermanentFailure" - The status of the clone request. Valid values:
PendingProcessingPendingErrorProcessingErrorCompletedCanceledPermanentFailure
- attempts? Signed32 - The number of retries
docusign.dsadmin: AssetGroupAccountClones
Fields
- assetGroupWorks? AssetGroupAccountClone[] - The list of asset group accounts
docusign.dsadmin: AssetGroupAccountCloneSourceAccount
Fields
- site? string - The site the source account is on
- externalAccountId? int - The external account ID of the source account
- name? string - The name of the source account
- id string - The ID of the account to clone. This property is required in POST requests
docusign.dsadmin: AssetGroupAccountCloneTargetAccount
An object describing the target cloned account
Fields
- site? string - The data center site of the account. This property is read-only
- countryCode? string - The country code of the target account. The country code for the United States is
en. Note: When cloning an account, you must include this property orregion. If both are provided,regionwill be used
- name? string - The name of the target account. This property is required in the request body when cloning an account
- admin? AssetGroupAccountCloneTargetAccountAdmin - An object describing the administrator of the cloned account
- id? string - The ID of the target account
- region? string - The region of the target account.
Note: When cloning an account, you must include this property or
countryCodein the request. If both are provided,regionwill be used
docusign.dsadmin: AssetGroupAccountCloneTargetAccountAdmin
An object describing the administrator of the cloned account
Fields
- firstName? string - The first name of the target account administrator. This property is required in the request body when cloning an account
- lastName? string - The last name of the target account administrator. This property is required in the request body when cloning an account
- locale? "None"|"zh_cn"|"zh_tw"|"nl"|"en"|"fr"|"de"|"it"|"ja"|"ko"|"pt"|"pt_br"|"ru"|"es"|"pl" - The locale of the target account administrator. The locale code for the United States is
en
- email? string - The email address of the target account administrator. This property is required in the request body when cloning an account
docusign.dsadmin: AssetGroupAccountResponse
Fields
- accountId? string - The ID of the account
- externalAccountId? int - The external account ID
- assetGroupName? string - Reserved for DocuSign
- accountName? string - The name of the account
- compliant? boolean - When true, indicates that the account is compliant
- siteId? Signed32 - Reserved for DocuSign
- siteName? string - Reserved for DocuSign
- assetGroupId? string - The asset group ID
docusign.dsadmin: AssetGroupAccountsResponse
A list of asset group accounts
Fields
- assetGroupAccounts? AssetGroupAccountResponse[] - The list of asset group accounts
docusign.dsadmin: BulkUsersAddBody
Fields
- fileCsv record { fileContent byte[], fileName string } - CSV file
docusign.dsadmin: BulkUsersAddBody1
Fields
- fileCsv record { fileContent byte[], fileName string } - CSV file
docusign.dsadmin: BulkUsersCloseBody
Fields
- fileCsv record { fileContent byte[], fileName string } - CSV file
docusign.dsadmin: BulkUsersUpdateBody
Fields
- fileCsv record { fileContent byte[], fileName string } - CSV file
docusign.dsadmin: BulkUsersUpdateBody1
Fields
- fileCsv record { fileContent byte[], fileName string } - CSV file
docusign.dsadmin: CertificateResponse
Information about a single certificate
Fields
- isValid? boolean - When true, the certificate is valid
- thumbprint? string - The thumbprint of the certificate
- links? LinkResponse[] - A list of useful links
- id? string - The unique ID of the certificate
- expirationDate? string - The date when the certificate expires
- issuer? string - The certificate issuer
docusign.dsadmin: CloneErrorDetails
Fields
- errorDescription? string - The error description
- isSystemError? boolean - When true, indicates that the error was caused by the system. When false, indicates that the error was caused by the user
- 'error? string - The error code
docusign.dsadmin: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth BearerTokenConfig|OAuth2RefreshTokenGrantConfig - Configurations related to client authentication
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings ClientHttp1Settings(default {}) - Configurations related to HTTP/1.x protocol
- http2Settings ClientHttp2Settings(default {}) - Configurations related to HTTP/2 protocol
- timeout decimal(default 30) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- followRedirects? FollowRedirects - Configurations associated with Redirection
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache CacheConfig(default {}) - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- cookieConfig? CookieConfig - Configurations associated with cookies
- responseLimits ResponseLimitConfigs(default {}) - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- socketConfig ClientSocketConfig(default {}) - Provides settings related to client socket configuration
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
docusign.dsadmin: DeleteMembershipRequest
Fields
- id string - The ID of a user's account you want to close
docusign.dsadmin: DeleteMembershipResponse
Results of closing accounts
Fields
- errorDetails? ErrorDetails -
- id? string - The ID of an account that could not be closed
docusign.dsadmin: DeleteMembershipsRequest
A list of accounts to close for a user
Fields
- accounts DeleteMembershipRequest[] - A list of accounts to close for a user
docusign.dsadmin: DeleteMembershipsResponse
The results of closing a user's account
Fields
- success? boolean - When true, the request to close the accounts succeeded
- accounts? DeleteMembershipResponse[] - A list of accounts that were closed
docusign.dsadmin: DeleteResponse
Results of deleting identities
Fields
- identities? UserIdentityResponse[] - A list of identities to delete
- success? boolean - When true, the request succeeded
docusign.dsadmin: DeleteUserIdentityRequest
Request to delete a user's identities,
Fields
- identities UserIdentityRequest[] - A list of identities
docusign.dsadmin: DocuSignGroupsv21GetDSGroupsV21Queries
Represents the Queries record for the operation: DocuSignGroupsv21_GetDSGroups_V2_1
Fields
- page? Signed32 - Start page of DSGroups
- pageSize? Signed32 - Page size of DSGroups
docusign.dsadmin: DocuSignGroupsv21GetDSGroupUsersV21Queries
Represents the Queries record for the operation: DocuSignGroupsv21_GetDSGroupUsers_V2_1
Fields
- page? Signed32 - Start page of DSGroups
- pageSize? Signed32 - Page size of DSGroups
docusign.dsadmin: DomainResponse
Information about a reserved domain
Fields
- settings? SettingResponse[] - A list of settings for the reserved domain
- identityProviderId? string - The identity provider ID of the reserved domain
- links? LinkResponse[] - A list of useful links
- id? string - The ID of the reserved domain
- hostName? string - The host name of the reserved domain
- status? string - The status of the request. One of:
unknownpendingactivedeactivatedrejected
- txtToken? string - A token in form of text of the reserved domain
docusign.dsadmin: DomainsResponse
A response about reserved domains
Fields
- reservedDomains? DomainResponse[] - Information about reserved domains
docusign.dsadmin: DSGroupAddRequest
Fields
- groupName string -
- description? string -
docusign.dsadmin: DSGroupAndUsersResponse
Fields
- groupUsers? DSGroupUsersResponse -
- group? DSGroupResponse -
docusign.dsadmin: DSGroupListResponse
Fields
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- dsGroups? DSGroupResponse[] -
- totalCount? Signed32 -
- page? Signed32 - The page number
- pageSize? Signed32 - The number of items per page
docusign.dsadmin: DSGroupRequest
Fields
- dsGroupId string -
docusign.dsadmin: DSGroupResponse
Fields
- isAdmin? boolean -
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- lastModifiedOn? string -
- userCount? Signed32 -
- externalAccountId? int -
- groupId? string -
- groupName? string -
- accountName? string -
- description? string -
- dsGroupId? string -
- sourceProductName? string -
docusign.dsadmin: DSGroupUserResponse
Fields
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- userId? string -
- errorDetails? ErrorDetails -
- userName? string - The full name of the user
- lastName? string - The user's last name
- middleName? string -
- firstName? string - The user's first name
- status? string - Status
docusign.dsadmin: DSGroupUsersAddRequest
Fields
- userIds string[] -
docusign.dsadmin: DSGroupUsersRemoveRequest
Information about users to remove from the group
Fields
- userIds? string[] - An array of IDs corresponding to users to remove from the group
- userEmails? string[] - An array of emails associated with users to remove from the group. Note: If
user_idsis also specified, this parameter will be ignored
docusign.dsadmin: DSGroupUsersResponse
Fields
- totalCount? Signed32 -
- page? Signed32 - The page number
- users? DSGroupUserResponse[] - A list of users
- pageSize? Signed32 - The number of items per page
docusign.dsadmin: ErrorDetails
Errors
Fields
- errorDescription? string - A description of the error
- 'error? string - The code for the error
docusign.dsadmin: ForceActivateMembershipRequest
Fields
- siteId Signed32 -
docusign.dsadmin: GroupRequest
A group for a user to belong to
Fields
- name? string - The name of the group
- id int - The ID of the group
- 'type? string - The type of group. One of:
invalidadmin_groupeveryone_groupcustom_group
docusign.dsadmin: IdentityProviderResponse
Information about a single identity provider
Fields
- friendlyName? string - The human-readable name of the identity provider
- saml20? Saml2IdentityProviderResponse -
- autoProvisionUsers? boolean - When true, users who use this identity provider are automatically provisioned.
- links? LinkResponse[] - A list of useful URLs
- id? string - The unique ID of the identity provider
- 'type? string - The type of the identity provider. One of:
nonesaml_20saml_11saml_10ws_federationopen_id_connect
docusign.dsadmin: IdentityProvidersResponse
Fields
- identityProviders? IdentityProviderResponse[] -
docusign.dsadmin: ImportsAccountSettingsBody
Fields
- fileCsv record { fileContent byte[], fileName string } - CSV file
docusign.dsadmin: IndividualMembershipDataRedactionRequest
Fields
- userId? string - The ID of the user whose data you want to delete
docusign.dsadmin: IndividualUserDataRedactionRequest
Fields
- userId? string - The ID of the user whose data you want to delete
- memberships? MembershipDataRedactionRequest[] - A list of accounts from which you want to delete the user's data. At least one account is required
docusign.dsadmin: IndividualUserDataRedactionResponse
Fields
- userId? string - The ID of the user
- membershipResults? MembershipDataRedactionResponse[] - A list of objects describing the status of the deletion request for each account
- status? "unknown"|"pending"|"failure"|"success"|"already_redacted" - The overall status of the data deletion request
docusign.dsadmin: LinkResponse
A link to a useful URL
Fields
- rel? string - The kind of linked item
- href? string - The URL of the linked item
docusign.dsadmin: MemberGroupResponse
And individual group responses,
Fields
- name? string - The name of the group
- id? int - The unique ID of the group
- 'type? string - The type of group. One of:
invalidadmin_groupeveryone_groupcustom_group
docusign.dsadmin: MemberGroupsResponse
A response about member groups. It contains the groups and paging information
Fields
- groups? MemberGroupResponse[] - A list of the responses
- paging? PagingResponseProperties -
docusign.dsadmin: MembershipDataRedactionRequest
Fields
- accountId? string - The ID of the account from which to delete the user's data
docusign.dsadmin: MembershipDataRedactionResponse
An object describing the status of the data deletion request for a specific account
Fields
- accountId? string - The ID of the account
- status? "unknown"|"pending"|"failure"|"success"|"already_redacted" - The status of the data deletion request. Valid values:
successpendingfailurealready_redacted
docusign.dsadmin: MembershipResponse
Information about group membership
Fields
- isAdmin? boolean - When true, the user has administration privileges on the account
- accountId? string - The ID of the account
- externalAccountId? string - The external account ID
- createdOn? string - The date the user's account was created
- accountName? string - The name of the account
- groups? MemberGroupResponse[] - A list of groups the user is a member of in this account,
- permissionProfile? PermissionProfileResponse -
- email? string - The email address
- isExternalAccount? boolean - When true, this is an external account
- status? string - The status of the user's membership
docusign.dsadmin: NewAccountUserRequest
A new user request
Fields
- userName? string - The full name of the user
- accessCode? string - The access code that the user needs to activate an account
- groups? GroupRequest[] - The new user's requested groups
- lastName? string - The user's last name
- autoActivateMemberships? boolean - When true, the user's account is activated automatically
- defaultAccountId? string - The account ID of the user's default account
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- permissionProfile? PermissionProfileRequest -
- firstName? string - The user's first name
- email string - The email address of the user
- selectedLanguages? string -
docusign.dsadmin: NewMultiProductUserAddRequest
Fields
- dsGroups? DSGroupRequest[] -
- userName? string - The full name of the user
- productPermissionProfiles ProductPermissionProfileRequest[] - A list of one or more products and their respective permissions
- accessCode? string - The access code that the user needs to activate an account
- lastName? string - The user's last name
- autoActivateMemberships? boolean - When true, the user's account is activated automatically
- defaultAccountId? string -
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- firstName? string - The user's first name
- email string - The email address
docusign.dsadmin: NewUserRequest
Information about a new user
Fields
- userName? string - The full name of the user
- accessCode? string - The access code that the user needs to activate an account
- lastName? string - The user's last name
- autoActivateMemberships? boolean - When true, the user's account is activated automatically
- defaultAccountId? string - The account ID of the user's default account
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- accounts NewUserRequestAccountProperties[] - A list of accounts the user will belong to
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- firstName? string - The user's first name
- email string - The email address
- selectedLanguages? string -
docusign.dsadmin: NewUserRequestAccountProperties
An individual new account user
Fields
- companyName? string - The user's company name
- groups? GroupRequest[] - The new user's requested groups
- id string - The account ID
- permissionProfile? PermissionProfileRequest -
- jobTitle? string - The user's job title
docusign.dsadmin: NewUserResponse
Information about a newly created user
Fields
- userName? string - The full name of the user
- siteId? Signed32 - The site ID of the added user
- lastName? string - The user's last name
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- id? string - The ID of the added user
- accounts? NewUserResponseAccountProperties[] - A list of accounts the user belongs to
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- firstName? string - The user's first name
- email? string - The primary email address of the user
docusign.dsadmin: NewUserResponseAccountProperties
Information about a newly created user
Fields
- companyName? string - The user's company name
- siteId? Signed32 - The site ID of the account
- groups? MemberGroupResponse[] - A list of groups that the user belongs to
- id? string - The user's unique ID
- permissionProfile? PermissionProfileResponse -
- jobTitle? string - The job title of the user
docusign.dsadmin: OASIRRErrorDetails
Fields
- errorDescription? string - A longer description of the error
- 'error? string - The error number
docusign.dsadmin: OASIRROrganizationAccountSettingsErrorDataResponse
Fields
- errorKey? string -
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- accountName? string -
- 'error? string - The error number
- settingKey? string -
docusign.dsadmin: OAuth2RefreshTokenGrantConfig
OAuth2 Refresh Token Grant Configs
Fields
- Fields Included from *OAuth2RefreshTokenGrantConfig
- refreshUrl string(default "https://account.docusign.com/oauth/auth") - Refresh URL
docusign.dsadmin: OETRErrorDetails
Fields
- errorDescription? string - A longer description of the error
- 'error? string - The error number
docusign.dsadmin: OrganizationAccountRequest
Fields
- accountId string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
docusign.dsadmin: OrganizationAccountResponse
Information about an account
Fields
- externalAccountId? int - The external account ID
- name? string - The name of the account
- siteId? Signed32 - The site ID
- id? string - The unique ID of the account
docusign.dsadmin: OrganizationAccountSettingsImportRequestorResponse
Fields
- name? string -
- id? string -
- 'type? string -
- email? string - The email address
docusign.dsadmin: OrganizationAccountSettingsImportResponse
Fields
- skippedSettingsByAccount? record { string[]... } -
- expires? string -
- created? string -
- completed? string -
- 'type? string -
- numberUnprocessedAccounts? int -
- requestor? OrganizationAccountSettingsImportRequestorResponse -
- percentCompleted? Signed32 -
- success? boolean -
- organizationId? string -
- numberProcessedAccounts? int -
- id? string -
- lastModified? string -
- results? OrganizationAccountSettingsImportResultResponse[] -
- status? string - Status
docusign.dsadmin: OrganizationAccountSettingsImportResultResponse
Fields
- errorDetails? OASIRRErrorDetails -
- processingIssuesByAccount? OASIRROrganizationAccountSettingsErrorDataResponse[] -
- siteId? Signed32 -
- numberProcessedAccounts? int -
- id? string -
- url? string -
- numberUnprocessedAccounts? int -
docusign.dsadmin: OrganizationAccountsRequest
Fields
- accounts? OrganizationAccountRequest[] -
docusign.dsadmin: OrganizationExportAccount
Fields
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
docusign.dsadmin: OrganizationExportDomain
Fields
- domain? string -
docusign.dsadmin: OrganizationExportRequest
Enables you to specify the kind of export request
Fields
- domains? OrganizationExportDomain[] -
- accounts? OrganizationExportAccount[] -
- 'type? string - The type of export requested. One of:
organization_domain_users_export: All users of the reserved domains.organization_external_memberships_export: Users whose email address domain is not linked to the organization.organization_memberships_export: Every user in every account in the organization. Users in multiple accounts will appear more than once.organization_account_settings_export: This value only applies to requests to export account settings
docusign.dsadmin: OrganizationExportRequestorResponse
Fields
- name? string - The name of the requestor
- id? string - The unique ID of the requestor.
If
typeisuser, this is the requestor's user ID
- 'type? string - The type of the requestor. One of:
userclient_app
- email? string - The email address of the requestor
docusign.dsadmin: OrganizationExportResponse
Fields
- expires? string - The time and date when the request expires
- sizeBytes? int - The size of the request in bytes
- metadataUrl? string - A pre-configured GET request to get the status of the export. Generally this is the same URI used to access this endpoint
- created? string - The time and date the request was created. This is a date in ISO 8601 format.
Example:
2019-03-26T19:02:09.8957715Z
- completed? string - The time and date when the request completed. Null if the request is still in progress
- 'type? string - The type of export requested. One of:
organization_domain_users_export: All users of the reserved domains.organization_external_memberships_export: Users whose email address domain is not linked to the organization.organization_memberships_export: Every user in every account in the organization. Users in multiple accounts will appear more than once.organization_account_settings_export: This value only applies to requests to export account settings
- requestor? OrganizationExportRequestorResponse -
- selectedAccounts? OrgExportSelectedAccount[] -
- percentCompleted? Signed32 - An integer between 0 to 100 (inclusive) that reports the progress of the request
- selectedDomains? OrgExportSelectedDomain[] -
- numberRows? int - The number of rows returned in this request
- success? boolean - When true, the request succeeded.
- id? string - The unique ID of this request
- lastModified? string - The time and date when the request was modified. This is typically the same as
created
- results? OrganizationExportTaskResponse[] - An array of results. There is one set of results for each server an account is in
- status? string - The status of the request. One of:
failedin_processqueuedcompleted
docusign.dsadmin: OrganizationExportsResponse
Fields
- exports? OrganizationExportResponse[] -
docusign.dsadmin: OrganizationExportTaskResponse
Fields
- sizeBytes? int - The size of the response in bytes
- numberRows? int - The number of rows returned in the result
- errorDetails? OETRErrorDetails -
- siteId? Signed32 - The ID of the site the response is for
- id? string - The unique ID of the task request
- url? string - The URL that returns the results as a CSV text stream
docusign.dsadmin: OrganizationImportResponse
Fields
- 'type? string -
- errorCount? Signed32 -
- userLevelWarningRollups? OrganizationImportResponseWarningRollup[] -
- importsTimedOutForAccounts? string -
- id? string -
- userLevelErrorRollups? OrganizationImportResponseErrorRollup[] -
- lastModified? string -
- updatedUserCount? Signed32 -
- importsTimedOutForSites? string -
- created? string -
- importsFailedForAccounts? string -
- noActionRequiredUserCount? Signed32 -
- closedUserCount? Signed32 -
- invalidColumnHeaders? string -
- fileLevelErrorRollups? OrganizationImportResponseErrorRollup[] -
- processedUserCount? Signed32 -
- requestor? OrganizationImportResponseRequestor -
- resultsUri? string -
- importsFailedForSites? string -
- hasCsvResults? boolean -
- userCount? Signed32 -
- importsNotFoundOrNotAvailableForAccounts? string -
- importsNotFoundOrNotAvailableForSites? string -
- warningCount? Signed32 -
- addedUserCount? Signed32 -
- status? string - Status
docusign.dsadmin: OrganizationImportResponseErrorRollup
Fields
- errorType? string - The type of error. One of:
no_action_taken_user_existsuser_addeduser_updatedinvalid_column_headerinvalid_row_datainsufficient_row_data_foundextra_row_data_foundblank_usernameinvalid_characters_in_usernameinvalid_useremail_addressemail_domain_is_reservednew_name_with_existing_useremail_not_allowedinvalid_characters_in_jobtitleinvalid_membership_idmembership_not_in_accountmaximum_users_exceededinvalid_permissionsetuser_permissionset_problemsinvalid_groupuser_group_problemsgroup_and_permissionset_problemscolumn_headers_missinginvalid_csv_data_or_syntaxinvalid_characters_in_companynameinvalid_language_codeusername_column_header_missinguseremail_column_header_missingpermissionset_column_header_missingmembership_id_column_header_usage_not_permittedadministrator_group_assignment_not_permitteduser_awaiting_activationaccount_admin_access_deniedinvalid_characters_in_addresspermissionset_requiredapiusername_column_header_missinginvalid_apiusernameuseremail_username_combination_existspermissionset_change_not_allowedusername_language_changes_ignored_warninginvalid_country_warninginvalid_account_idinvalid_autoactivateinvalid_loginpolicyautoactivate_not_allowedmembership_closedmembership_closed_or_disabled_warningcannot_close_last_active_adminno_action_takencannot_close_own_membershipunspecified_error
- count? Signed32 - The number of errors of this type
docusign.dsadmin: OrganizationImportResponseRequestor
Fields
- name? string - The name of the requestor
- id? string - The unique ID of the requestor.
If
typeisuser, this is the requestor's user ID
- 'type? string - The type of the requestor. One of:
userclient_app
- email? string - The email address of the requestor
docusign.dsadmin: OrganizationImportResponseWarningRollup
Fields
- count? Signed32 - The number of warnings of this type
- warningType? string - The type of warning
docusign.dsadmin: OrganizationImportsResponse
Fields
- imports? OrganizationImportResponse[] - A list of responses to user import requests
docusign.dsadmin: OrganizationOrganizationGetListV2Queries
Represents the Queries record for the operation: Organization_Organization_GetListV2
Fields
- mode? string - Specifies how to select the organizations. Valid values:
org_admin: Returns organizations for which the authenticated user is an admin.account_membership: Returns organizations that contain an account of which the authenticated user is a member
org_admin
docusign.dsadmin: OrganizationProductPermissionProfileGetUserProductPermissionProfilesByEmailQueries
Represents the Queries record for the operation: OrganizationProductPermissionProfile_GetUserProductPermissionProfilesByEmail
Fields
- email? string - The email address of the user. Note: This property is required
docusign.dsadmin: OrganizationProvisionAssetGroupGetAssetGroupAccountCloneQueries
Represents the Queries record for the operation: OrganizationProvisionAssetGroup_GetAssetGroupAccountClone
Fields
- includeDetails? boolean - When true, include additional details about the cloned account. The default value is false.
docusign.dsadmin: OrganizationProvisionAssetGroupGetAssetGroupAccountClonesByOrgIdQueries
Represents the Queries record for the operation: OrganizationProvisionAssetGroup_GetAssetGroupAccountClonesByOrgId
Fields
- sinceUpdatedDate? string - Use this parameter to retrieve only account clones that were created on or after a specified date
- includeDetails? boolean - When true, include additional details for the asset group account clones. The default value is false.
docusign.dsadmin: OrganizationProvisionAssetGroupGetAssetGroupAccountsByOrgQueries
Represents the Queries record for the operation: OrganizationProvisionAssetGroup_GetAssetGroupAccountsByOrg
Fields
- compliant? boolean - When true, only compliant accounts are returned and account responses do not include the
compliantfield. The default value is false.
docusign.dsadmin: OrganizationResponse
Information about an individual organization
Fields
- lastModifiedOn? string - The date the organization's account was last updated
- description? string - A description of the organization
- defaultAccountId? string - The default account ID of the organization
- lastModifiedBy? string - The user who last updated the organization's account
- defaultPermissionProfileId? int - The default permission profile ID of the organization
- createdBy? string - The user who created the organization account
- users? OrganizationSimpleIdObject[] - A list of the organization accounts users
- reservedDomains? DomainResponse[] - A list of reserved domains for the organization
- createdOn? string - The date the organization's account was created
- identityProviders? IdentityProvidersResponse[] - A list of identity providers for the organization
- name? string - The name of the organization
- links? LinkResponse[] - A list of links for the organization
- id? string - The ID of the organization
- accounts? OrganizationAccountResponse[] - A list of organization accounts
docusign.dsadmin: OrganizationSimpleIdObject
An ID object
Fields
- id? string - The ID
docusign.dsadmin: OrganizationsResponse
Organization list
Fields
- organizations? OrganizationResponse[] - A list of organizations of which the authenticated user is a member
docusign.dsadmin: OrganizationUserOrganizationUsersGetDSProfileByUserIdQueries
Represents the Queries record for the operation: OrganizationUser_OrganizationUsers_GetDSProfileByUserId
Fields
- sort? boolean - When true, sorts the results in ascending order by account name
docusign.dsadmin: OrganizationUserOrganizationUsersGetDSProfilesQueries
Represents the Queries record for the operation: OrganizationUser_OrganizationUsers_GetDSProfiles
Fields
- sort? boolean - When true, sorts the results in ascending order by account name
- email? string - The email address of the user. Note: This property is required
docusign.dsadmin: OrganizationUserOrganizationUsersGetProfileV2Queries
Represents the Queries record for the operation: OrganizationUser_OrganizationUsers_GetProfileV2
Fields
- email? string - The email address associated with the users you want to retrieve. Note: This property is required
docusign.dsadmin: OrganizationUserOrganizationUsersGetV2Queries
Represents the Queries record for the operation: OrganizationUser_OrganizationUsers_GetV2
Fields
- take? Signed32 - Page size of the response. The default value is 20
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- organizationReservedDomainId? string - Select users that are in the specified domain. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- lastModifiedSince? string - Select users whose data have been modified since the date specified.
account_idororganization_reserved_domain_idmust be specified
- emailUserNameLike? string - Selects users by pattern matching on the user's email address
- 'start? Signed32 - Index of first item to include in the response. The default value is 0
- end? Signed32 - Index of the last item to include in the response. Ignored if
takeparameter is specified
- email? string - Email address of the desired user. At least one of
email,account_idororganization_reserved_domain_idmust be specified
- membershipStatus? string - The user's membership status. One of:
activation_requiredactivation_sentactivecloseddisabled
- status? string - Status
docusign.dsadmin: OrganizationUserResponse
Information about a user
Fields
- userStatus? string - The user's status. One of:
activecreatedclosed
- dsGroups? DSGroupResponse[] -
- createdOn? string - The date the user's account was created
- membershipCreatedOn? string - The date on which the user became a member of the organization
- userName? string - The full name of the user
- membershipId? string -
- lastName? string - The user's last name
- id? string - The user's unique ID
- firstName? string - The user's first name
- membershipStatus? string - The user's membership status. One of:
activation_requiredactivation_sentactivecloseddisabled
- email? string - The email address
docusign.dsadmin: OrganizationUsersResponse
A response containing information about users
Fields
- paging? PagingResponseProperties -
- users? OrganizationUserResponse[] - A list of users
docusign.dsadmin: OrgExportSelectedAccount
Fields
- accountId? string - Select users that are members of the specified account. At least one of
email,account_idororganization_reserved_domain_idmust be specified
docusign.dsadmin: OrgExportSelectedDomain
Fields
- domain? string -
docusign.dsadmin: PagingResponseProperties
Fields
- resultSetStartPosition? Signed32 - The index position of the first result in this set
- next? string - A URL to the next set of results.
- previous? string - A URL to the previous set of results.
- resultSetEndPosition? Signed32 - The index position of the last result in this set
- resultSetSize? Signed32 - The number of items in a result set (page)
- totalSetSize? Signed32 - The total number of results
docusign.dsadmin: PermissionProfileRequest
A permission profile
Fields
- name? string - The name of the permission profile
- id int - The ID of the permission profile
docusign.dsadmin: PermissionProfileResponse
This object is an individual permission profile response
Fields
- name? string - The name of the permission profile.
Example:
DocuSign Sender
- id? int - The ID of the permission profile
docusign.dsadmin: PermissionProfileResponse21
Fields
- permissionProfileId? string - The ID of the permission profile
- permissionProfileName? string - The human-readable name of the permission profile
docusign.dsadmin: PermissionsResponse
A list of permission profiles for a given account
Fields
- permissions? PermissionProfileResponse[] - An array of permission profile responses
docusign.dsadmin: ProductPermissionProfileRequest
Identifies a product and an associated permission profile
Fields
- permissionProfileId string - The ID of the permission profile for the given product. This property is required
- productId string - The ID of the product. This property is required
docusign.dsadmin: ProductPermissionProfileResponse
Fields
- errorMessage? string -
- productId? string - The ID of the product
- permissionProfiles? PermissionProfileResponse21[] -
- productName? string - The human-readable name of the product
docusign.dsadmin: ProductPermissionProfilesRequest
Fields
- productPermissionProfiles ProductPermissionProfileRequest[] - A list of one or more products and their respective permissions
docusign.dsadmin: ProductPermissionProfilesResponse
Fields
- productPermissionProfiles? ProductPermissionProfileResponse[] - A list of one or more products and their respective permissions
docusign.dsadmin: RemoveDSGroupUsersResponse
Fields
- failedUsers? DSGroupUserResponse[] -
- isSuccess? boolean -
docusign.dsadmin: RemoveUserProductsResponse
Fields
- userEmail? string - The user's email address
- userId? string - The user's ID
- userProductResults record { string... } - The results of the request to revoke product access.
Each 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. For example:{ "230546a7-xxxx-xxxx-xxxx-af205d5494ad"": "deleted", "984800b7-xxxx-xxxx-xxxx-kt374a5922lk": "Invalid product id" }
- isSuccess boolean - When true, indicates that the user's access to the specified products was successfully revoked
docusign.dsadmin: RequiredAttributeMappingResponse
A single attribute mapping response
Fields
- requiredAttributeName? string - The name of the attribute
- requiredAttributeFriendlyName? string - The human-readable name of the attribute
- requiredAttributeId? Signed32 - The unique ID of the attribute
- substituteAttributeName? string - The name of the substitute attribute
docusign.dsadmin: Saml2IdentityProviderResponse
Information about a SAML 2.0 identity provider
Fields
- settings? SettingResponse[] - A list of settings
- certificates? CertificateResponse[] - A list of certificates responses
- attributeMappings? RequiredAttributeMappingResponse[] - A list of attribute mappings
- issuer? string - The name of the certificate issuer
docusign.dsadmin: SettingResponse
A key/value list of settings
Fields
- 'type? string - The type of the setting. One of:
unknownguidtextintegerbooleandatetimeenumeration
- value? record {} - The value of the setting
- 'key? string - The key of the setting
docusign.dsadmin: UpdateMembershipRequest
A request to update group membership
Fields
- accountId string - The user's unique ID
- sendActivation? boolean - When true, send an activation request after the update
- companyName? string - The user's company name
- accessCode? string - The access code that the user needs to activate an account
- groups? GroupRequest[] - The user's requested groups
- permissionProfile? PermissionProfileRequest -
- jobTitle? string - The user's job title
docusign.dsadmin: UpdateResponse
A response
Fields
- status? string - The status of the request
docusign.dsadmin: UpdateUserEmailRequest
And individual change of email
Fields
- siteId Signed32 - The site ID
- id string - The ID of the users whose email address you want to change
- email string - The new email address
docusign.dsadmin: UpdateUserRequest
Request to change a user's information
Fields
- userName? string - The full name of the user
- lastName? string - The user's last name
- defaultAccountId? string - The account ID of the user's default account
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- deviceVerificationEnabled? boolean -
- memberships? UpdateMembershipRequest[] - A list of group membership requests
- selectedLanguages? string -
- siteId Signed32 - The site ID
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- id string - The user's unique ID
- forcePasswordChange? boolean - When true, the user will be required to change the account password
- firstName? string - The user's first name
- email? string - The email address
docusign.dsadmin: UpdateUsersEmailRequest
A change email request
Fields
- users? UpdateUserEmailRequest[] - A list of users whose email address to change
docusign.dsadmin: UpdateUsersRequest
A list of users whose information you want to change
Fields
- users? UpdateUserRequest[] - A list of users whose information you want to change
docusign.dsadmin: UserDrilldownResponse
Information about a user
Fields
- userStatus? string - The user's status. One of:
activecreatedclosed
- userName? string - The full name of the user
- lastLogin? string - This property has been deprecated
- lastName? string - The user's last name
- defaultAccountName? string - The name of the user's default account
- defaultAccountId? string - The ID of the user's default account
- federatedStatus? string - The user's federated status. One of:
RemoveStatusFedAuthRequiredFedAuthBypassEvicted
- deviceVerificationEnabled? boolean -
- memberships? MembershipResponse[] - A list of organizations that have groups that the user is a member of
- selectedLanguages? string -
- siteName? string - The site name of the account
- isOrganizationAdmin? boolean - When true, the user has organization administration privileges
- identities? UserIdentityResponse[] - A list of identities associated with the user
- createdOn? string - The date the user's account was created
- siteId? Signed32 - The site ID of the organization
- languageCulture? string - The language and culture of the user.
- Chinese Simplified:
zh_CN - Chinese Traditional:
zh_TW - Dutch:
nl - English:
en - French:
fr - German:
de - Italian:
it - Japanese:
ja - Korean:
ko - Portuguese:
pt - Portuguese Brazil:
pt_BR - Russian:
ru - Spanish:
es
- Chinese Simplified:
- id? string - The user's unique ID
- firstName? string - The user's first name
docusign.dsadmin: UserIdentityRequest
User identity,
Fields
- id? string - The ID of the identity
docusign.dsadmin: UserIdentityResponse
Results of deleting a user identity
Fields
- immutableId? string - A unique ID to identify the removed user
- userId? string - The user ID
- errorDetails? ErrorDetails -
- providerId? string - The ID of the identity provider
- id? string - The ID of the result
docusign.dsadmin: UserProductPermissionProfilesRequest
Fields
- productPermissionProfiles ProductPermissionProfileRequest[] - A list of one or more products and their associated permissions
- email string - The email address associated with the user whose permissions you want to update. This property is required
docusign.dsadmin: UserProductPermissionProfilesResponse
Fields
- accountId? string - The ID of the account
- userId? string - The ID of the user
- productPermissionProfiles? ProductPermissionProfileResponse[] - A list of one or more products and their respective permissions
docusign.dsadmin: UserProductProfileDeleteRequest
Fields
- userEmail? string - The user's email address
- productIds string[] - A list of IDs corresponding to the products for which the user's access will be revoked.
For example:
["230546a7-xxxx-xxxx-xxxx-af205d5494ad", "984800b7-xxxx-xxxx-xxxx-kt374a5922lk"]
- userId? string - The user's unique ID
docusign.dsadmin: UsersDrilldownResponse
Information about a list of users
Fields
- users? UserDrilldownResponse[] - A list of users
docusign.dsadmin: UsersUpdateResponse
The results of changing a user's information
Fields
- success? boolean - When true, the request to change user information succeeded
- users? UserUpdateResponse[] - A list of users whose email addresses have been updated
docusign.dsadmin: UserUpdateResponse
Error result of attempting to change a user's email address
Fields
- errorDetails? ErrorDetails -
- siteId? Signed32 - The site ID
- id? string - The ID of the user whose email address has been updated
- email? string - The email address
Import
import ballerinax/docusign.dsadmin;Other versions
3.0.0
2.0.0Metadata
Released date: about 1 hour ago
Version: 3.0.0
License: Apache-2.0
Security
No known vulnerabilities in libraries
Checked on 2026-11-23 via OSV.dev
Compatibility
Platform: any
Ballerina version: 2201.12.2
GraalVM compatible: Yes
Pull count
Total: 25206
Current verison: 0
Weekly downloads
Keywords
Productivity/Document Signing
Vendor/DocuSign
Area/Productivity & Collaboration
Type/Connector
Contributors