Accounts: listUnsupportedFileTypes

Retrieves a list of file types (mime-types and file-extensions) that are not supported for upload through the DocuSign system.

Request

HTTP request

GET /v2/accounts/{accountId}/unsupported_file_types

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID Guid.

Responses

CodeDescriptionReference
200

Successful response.

fileTypeList
400

Error encountered.

errorDetails

SDK Method

Accounts::listUnsupportedFileTypes

Definitions

errorDetails

This object describes errors that occur. It is only valid for responses, and ignored in requests.

errorCodestring

An error code associated with the error.

messagestring

A short error message.

fileType

fileExtensionstring

mimeTypestring

The mime-type of a file type listed in a fileTypes collection.

fileTypeList

fileTypes[fileType]

A collection of file types.

Examples

Generic JSON Response

Response
{
  "fileTypes": [
    {
      "fileExtension": "sample string 1",
      "mimeType": "sample string 2"
    }
  ]
}
Generic XML Response

Response
<fileTypeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.docusign.com/restapi">
  <fileTypes>
    <fileType>
      <fileExtension>sample string 1</fileExtension>
      <mimeType>sample string 2</mimeType>
    </fileType>
  </fileTypes>
</fileTypeList> 
}} />