openapi: 3.0.1 info: title: DocuSign Admin AccountBrands GroupUsers API description: An API for an organization administrator to manage organizations, accounts and users termsOfService: https://www.docusign.com/company/terms-and-conditions/developers contact: name: DocuSign Developer Center url: https://developers.docusign.com email: devcenter@docusign.com version: v2.1 servers: - url: https://api.docusign.net/Management tags: - name: GroupUsers description: The GroupUsers resource provides methods that allow you to manage the users in a group. paths: /v2/accounts/{accountId}/groups/{groupId}/users: get: tags: - GroupUsers summary: Docusign Gets a list of users in a group. description: Retrieves a list of users in a group. operationId: Groups_GetGroupUsers parameters: - name: accountId in: path description: The external account number (int) or account id GUID. required: true schema: type: string - name: groupId in: path description: The ID of the group being accessed. required: true schema: type: string - name: count in: query description: 'Number of records to return. The number must be greater than 1 and less than or equal to 100. ' schema: type: string - name: start_position in: query description: Starting value for the list. schema: type: string responses: '200': description: Successful response. content: '*/*': schema: $ref: '#/components/schemas/usersResponse' '400': description: Error encountered. content: '*/*': schema: $ref: '#/components/schemas/errorDetails' deprecated: false x-ds-methodname: listGroupUsers x-ds-method: list x-ds-service: Groups x-ds-in-sdk: true put: tags: - GroupUsers summary: Docusign Adds one or more users to an existing group. description: Adds one or more users to an existing group. operationId: Groups_PutGroupUsers parameters: - name: accountId in: path description: The external account number (int) or account id GUID. required: true schema: type: string - name: groupId in: path description: The ID of the group being accessed. required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/userInfoList' application/xml: schema: $ref: '#/components/schemas/userInfoList' required: false responses: '200': description: Successful response. content: '*/*': schema: $ref: '#/components/schemas/usersResponse' '400': description: Error encountered. content: '*/*': schema: $ref: '#/components/schemas/errorDetails' deprecated: false x-ds-methodname: updateGroupUsers x-ds-method: update x-ds-service: Groups x-ds-in-sdk: true x-codegen-request-body-name: userInfoList delete: tags: - GroupUsers summary: Docusign Deletes one or more users from a gro description: 'Deletes one or more users from a group. ' operationId: Groups_DeleteGroupUsers parameters: - name: accountId in: path description: The external account number (int) or account id GUID. required: true schema: type: string - name: groupId in: path description: The ID of the group being accessed. required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/userInfoList' application/xml: schema: $ref: '#/components/schemas/userInfoList' required: false responses: '200': description: Successful response. content: '*/*': schema: $ref: '#/components/schemas/usersResponse' '400': description: Error encountered. content: '*/*': schema: $ref: '#/components/schemas/errorDetails' deprecated: false x-ds-methodname: deleteGroupUsers x-ds-method: delete x-ds-service: Groups x-ds-in-sdk: true x-codegen-request-body-name: userInfoList components: schemas: errorDetails: type: object properties: errorCode: type: string description: An error code associated with the error. message: type: string description: A short error message. description: This object describes errors that occur. It is only valid for responses, and ignored in requests. x-ds-definition-name: errorDetails x-ms-summary: This object describes errors that occur. It is only valid for responses, and ignored in requests. userInfo: type: object properties: activationAccessCode: type: string description: '' email: type: string description: '' errorDetails: $ref: '#/components/schemas/errorDetails' loginStatus: type: string description: '' sendActivationEmail: type: string description: '' uri: type: string description: '' userId: type: string description: 'The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. **Note**: For the [GET /v2/accounts/{accountId}/envelopes](https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/listStatusChanges/#envelopesInformation) method, the `user_id` query parameter is not implemented and should not be used.' userName: type: string description: '' userStatus: type: string description: 'Status of the user''s account. One of: * ActivationRequired * ActivationSent * Active * Closed * Disabled ' userType: type: string description: '' description: '' x-ds-definition-name: userInfo x-ms-summary: '' userInfoList: type: object properties: users: type: array description: '' items: $ref: '#/components/schemas/userInfo' description: '' x-ds-definition-name: userInfoList x-ms-summary: '' usersResponse: type: object properties: endPosition: type: string description: 'The last position in the result set. ' nextUri: type: string description: 'The URI for the next chunk of records based on the search request. It is `null` if this is the last set of results for the search. ' previousUri: type: string description: 'The URI for the prior chunk of records based on the search request. It is `null` if this is the first set of results for the search. ' resultSetSize: type: string description: 'The number of results returned in this response. ' startPosition: type: string description: Starting position of the current result set. totalSetSize: type: string description: The total number of items in the search's result set. It will always be greater than or equal to the value of the `resultSetSize` field. users: type: array description: '' items: $ref: '#/components/schemas/userInfo' description: '' x-ds-definition-name: usersResponse x-ms-summary: '' securitySchemes: accessCode: type: oauth2 description: OAuth2 Access code Grant flows: authorizationCode: authorizationUrl: https://account.docusign.com/oauth/auth tokenUrl: https://account.docusign.com/oauth/auth scopes: organization_read: '' permission_read: '' group_read: '' user_read: '' account_read: '' account_write: '' user_write: '' identity_provider_read: '' domain_read: '' x-ds-categories: - name: UserManagement summary: Methods to manage users in an account. description: Methods to manage users in an account. - name: BulkOperations summary: Methods to import and export users and accounts. description: Methods to import and export users and accounts. - name: IdentityProviders summary: Methods to get a list of identity providers. description: Methods to get a list of identity providers. - name: ReservedDomains summary: Methods to get a list of reserved domains. description: Methods to get a list of reserved domains. - name: Organization summary: Methods for working with organizations. description: Methods for working with organizations. x-original-swagger-version: '2.0'