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

API calls for all endpoints tagged AccountPasswordRules.

Summary

Functions

Gets the password rules for an account. This method retrieves the password rules for an account.

Updates the password rules for an account. This method updates the password rules for an account. Note: To update the password rules for an account, you must be an account administrator.

Gets membership account password rules.

Functions

Link to this function

account_password_rules_get_account_password_rules(connection, account_id, opts \\ [])

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

Gets the password rules for an account. This method retrieves the password rules for an account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters

Returns

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

account_password_rules_put_account_password_rules(connection, account_id, opts \\ [])

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

Updates the password rules for an account. This method updates the password rules for an account. Note: To update the password rules for an account, you must be an account administrator.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters
    • :body (AccountPasswordRules):

Returns

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

password_rules_get_password_rules(connection, opts \\ [])

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

Gets membership account password rules.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • opts (keyword): Optional parameters

Returns

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