View Source DocuSign.Api.GroupUsers (DocuSign v1.2.0)

API calls for all endpoints tagged GroupUsers.

Summary

Functions

Deletes one or more users from a group Deletes one or more users from a group. This request takes a userInfoList that contains the users that you want to delete.

Gets a list of users in a group. Retrieves a list of users in a group.

Adds one or more users to an existing group. Adds one or more existing DocuSign users to an existing group.

Functions

Link to this function

groups_delete_group_users(connection, account_id, group_id, opts \\ [])

View Source
@spec groups_delete_group_users(Tesla.Env.client(), String.t(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.UsersResponse.t()}
  | {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:error, Tesla.Env.t()}

Deletes one or more users from a group Deletes one or more users from a group. This request takes a userInfoList that contains the users that you want to delete.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • group_id (String.t): The ID of the group being accessed.
  • opts (keyword): Optional parameters
    • :body (UserInfoList):

Returns

  • {:ok, DocuSign.Model.UsersResponse.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

groups_get_group_users(connection, account_id, group_id, opts \\ [])

View Source
@spec groups_get_group_users(Tesla.Env.client(), String.t(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.UsersResponse.t()}
  | {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:error, Tesla.Env.t()}

Gets a list of users in a group. Retrieves a list of users in a group.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • group_id (String.t): The ID of the group being accessed.
  • opts (keyword): Optional parameters
    • :count (String.t): The maximum number of results to return. Use start_position to specify the number of results to skip. Valid values: 1 to 100
    • :start_position (String.t): The zero-based index of the result from which to start returning results. Use with count to limit the number of results. The default value is 0.

Returns

  • {:ok, DocuSign.Model.UsersResponse.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

groups_put_group_users(connection, account_id, group_id, opts \\ [])

View Source
@spec groups_put_group_users(Tesla.Env.client(), String.t(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.UsersResponse.t()}
  | {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:error, Tesla.Env.t()}

Adds one or more users to an existing group. Adds one or more existing DocuSign users to an existing group.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • group_id (String.t): The ID of the group being accessed.
  • opts (keyword): Optional parameters
    • :body (UserInfoList):

Returns

  • {:ok, DocuSign.Model.UsersResponse.t} on success
  • {:error, Tesla.Env.t} on failure