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

API calls for all endpoints tagged AccountPermissionProfiles.

Summary

Functions

Deletes a permission profile from an account. This method deletes a permission profile from an account. To delete a permission profile, it must not have any users associated with it. When you use this method to delete a permission profile, you can reassign the users associated with it to a new permission profile at the same time by using the move_users_to query parameter. ### Related topics - How to delete a permission profile

Returns a permission profile for an account. This method returns information about a specific permission profile that is associated with an account. ### Related topics - How to set a permission profile

Gets a list of permission profiles. This method returns a list of permission profiles that are associated with an account. Example: json { "permissionProfiles": [ { "permissionProfileId": "1665536", "permissionProfileName": "Account Administrator", "modifiedDateTime": "2018-03-26T03:54:40.4470000Z", "modifiedByUsername": "" }, { "permissionProfileId": "1665537", "permissionProfileName": "DocuSign Sender", "modifiedDateTime": "2018-03-26T03:54:40.4470000Z", "modifiedByUsername": "" }, { "permissionProfileId": "1665538", "permissionProfileName": "DocuSign Viewer", "modifiedDateTime": "2016-06-02T01:53:15.6830000Z", "modifiedByUsername": "" }, { "permissionProfileId": "10325926", "permissionProfileName": "DS Manage Company Member Accounts", "modifiedDateTime": "2020-05-15T00:28:36.8230000Z", "modifiedByUsername": "Nat Irving" } ] }

Creates a new permission profile for an account. This method creates a new permission profile for an account. ### Related topics - How to create a permission profile

Updates a permission profile. This method updates an account permission profile. ### Related topics - How to update individual permission settings

Functions

Link to this function

permission_profiles_delete_permission_profiles(connection, account_id, permission_profile_id, opts \\ [])

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

Deletes a permission profile from an account. This method deletes a permission profile from an account. To delete a permission profile, it must not have any users associated with it. When you use this method to delete a permission profile, you can reassign the users associated with it to a new permission profile at the same time by using the move_users_to query parameter. ### Related topics - How to delete a permission profile

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • permission_profile_id (String.t): The ID of the permission profile. Use AccountPermissionProfiles: list to get a list of permission profiles and their IDs. You can also download a CSV file of all permission profiles and their IDs from the Settings > Permission Profiles page of your eSignature account page.
  • opts (keyword): Optional parameters
    • :move_users_to (String.t):

Returns

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

permission_profiles_get_permission_profile(connection, account_id, permission_profile_id, opts \\ [])

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

Returns a permission profile for an account. This method returns information about a specific permission profile that is associated with an account. ### Related topics - How to set a permission profile

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • permission_profile_id (String.t): The ID of the permission profile. Use AccountPermissionProfiles: list to get a list of permission profiles and their IDs. You can also download a CSV file of all permission profiles and their IDs from the Settings > Permission Profiles page of your eSignature account page.
  • opts (keyword): Optional parameters
    • :include (String.t): A comma-separated list of additional properties to return in the response. The only valid value for this request is metadata, which returns metadata indicating whether the properties associated with the account permission profile are editable.

Returns

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

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

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

Gets a list of permission profiles. This method returns a list of permission profiles that are associated with an account. Example: json { "permissionProfiles": [ { "permissionProfileId": "1665536", "permissionProfileName": "Account Administrator", "modifiedDateTime": "2018-03-26T03:54:40.4470000Z", "modifiedByUsername": "" }, { "permissionProfileId": "1665537", "permissionProfileName": "DocuSign Sender", "modifiedDateTime": "2018-03-26T03:54:40.4470000Z", "modifiedByUsername": "" }, { "permissionProfileId": "1665538", "permissionProfileName": "DocuSign Viewer", "modifiedDateTime": "2016-06-02T01:53:15.6830000Z", "modifiedByUsername": "" }, { "permissionProfileId": "10325926", "permissionProfileName": "DS Manage Company Member Accounts", "modifiedDateTime": "2020-05-15T00:28:36.8230000Z", "modifiedByUsername": "Nat Irving" } ] }

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters
    • :include (String.t): A comma-separated list of additional properties to return in the response. Valid values are: - user_count: The total number of users associated with the permission profile. - closed_users: Includes closed users in the user_count. - account_management: The account management settings. - metadata: Metadata indicating whether the properties associated with the account permission profile are editable. Example: user_count,closed_users

Returns

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

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

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

Creates a new permission profile for an account. This method creates a new permission profile for an account. ### Related topics - How to create a permission profile

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters
    • :include (String.t): A comma-separated list of additional properties to return in the response. The only valid value for this request is metadata, which returns metadata indicating whether the properties associated with the account permission profile are editable.
    • :body (PermissionProfile):

Returns

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

permission_profiles_put_permission_profiles(connection, account_id, permission_profile_id, opts \\ [])

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

Updates a permission profile. This method updates an account permission profile. ### Related topics - How to update individual permission settings

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • permission_profile_id (String.t): The ID of the permission profile. Use AccountPermissionProfiles: list to get a list of permission profiles and their IDs. You can also download a CSV file of all permission profiles and their IDs from the Settings > Permission Profiles page of your eSignature account page.
  • opts (keyword): Optional parameters
    • :include (String.t): A comma-separated list of additional properties to return in the response. The only valid value for this request is metadata, which returns metadata indicating whether the properties associated with the account permission profile are editable.
    • :body (PermissionProfile):

Returns

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