File Manager Files

Manage specific files in the File Manager for your MailChimp account. The File Manager is a place to store images, documents, and other files you include or link to in your campaigns, templates, or signup forms.

Available methods

    • POST /file-manager/files Upload a new file

      Upload a new file

      POST /file-manager/files

      Upload a new image or file to the File Manager.

      Request body parameters

      folder_id Type: Integer Title: Folder ID Read only: false The id of the folder.
      name Type: String Title: File Name Read only: false The name of the file.
      file_data Type: String Title: File Data Read only: false The base64-encoded contents of the file.

      Response body parameters

      id Type: Integer Title: File ID Read only: true The unique id of the file.
      folder_id Type: Integer Title: Folder ID Read only: false The id of the folder.
      type Type: String Title: File Type Read only: true The type of file in the File Manager.
      Possible Values:
      • image
      • file
      name Type: String Title: File Name Read only: false The name of the file.
      full_size_url Type: String Title: File URL Read only: true The url of the full-size file.
      thumbnail_url Type: String Title: Thumbnail URL Read only: true The url of the thumbnail preview.
      size Type: Integer Title: File Size Read only: true The size of the file in bytes.
      created_at Type: String Title: Created Date Read only: true The date and time a file was added to the File Manager.
      created_by Type: String Title: Created By Read only: true The username of the profile that uploaded the file.
      width Type: Integer Title: Image Width Read only: true The width of the image.
      height Type: Integer Title: Image Height Read only: true The height of an image.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

      Example request

      
      curl --request POST \
      --url 'https://usX.api.mailchimp.com/3.0/file-manager/files' \
      --user 'anystring:apikey' \
      --header 'content-type: application/json' \
      --data '{"name": "test.txt", "file_data": "VGhpcyBpcyBhbiBleGFtcGxlIGxpbmUgb2YgdGV4dC4="}' \
      --include
                                      

      Example response

      
      HTTP/1.1 200 OK
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Content-Length: 1130
      Vary: Accept-Encoding
      X-Request-Id: 40589e88-f9b6-4a43-9c3c-181d71c47f6f
      Link: <https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json>; rel="describedBy"
      Date: Wed, 16 Sep 2015 13:04:51 GMT
      Connection: keep-alive
      
      
      {
        "id": 1890965,
        "folder_id": 0,
        "type": "file",
        "name": "test.txt",
        "full_size_url": "https://gallery.mailchimp.com/8d3a3db4d97663a9074efcc16/files/test.txt",
        "thumbnail_url": "",
        "size": 32,
        "created_at": "2015-09-16 13:04:51",
        "created_by": "Freddie",
        "width": 0,
        "height": 0,
        "_links": [
          {
            "rel": "self",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "update",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "PATCH",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "delete",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "DELETE",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "parent",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json",
            "schema": "https://api.mailchimp.com/schema/3.0/CollectionLinks/FileManager/Files.json"
          }
        ]
      }
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.
    • GET /file-manager/files Get information about stored files
      GET /file-manager/files/{file_id} Get a specific file

      Get information about stored files

      GET /file-manager/files

      Get a list of available images and files stored in the File Manager for the account.

      Query string parameters

      fields Type: Array Title: Fields Read only: false A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
      exclude_fields Type: Array Title: Exclude Fields Read only: false A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
      count Type: Integer Title: Count Read only: true The number of records to return. Default value is 10.
      offset Type: Integer Title: Offset Read only: false The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. Default value is 0.
      type Type: String Title: File Type Read only: false The file type for the File Manager file.
      created_by Type: String Title: Created By Read only: false The MailChimp account user who created the File Manager file.
      before_created_at Type: String Title: Before Created At Read only: false Restrict the response to files created before the set date.
      since_created_at Type: String Title: Since Created At Read only: false Restrict the response to files created after the set date.
      sort_field Type: String Title: Sort By Field Read only: false Returns files sorted by the specified field.
      Possible Values:
      • added_date
      sort_dir Type: String Title: Sort Direction Read only: false Determines the order direction for sorted results.
      Possible Values:
      • ASC
      • DESC

      Response body parameters

      files Type: Array Title: Files Read only: false A list of files and images in an account.
      Show properties
      id Type: Integer Title: File ID Read only: true The unique id of the file.
      folder_id Type: Integer Title: Folder ID Read only: false The id of the folder.
      type Type: String Title: File Type Read only: true The type of file in the File Manager.
      Possible Values:
      • image
      • file
      name Type: String Title: File Name Read only: false The name of the file.
      full_size_url Type: String Title: File URL Read only: true The url of the full-size file.
      thumbnail_url Type: String Title: Thumbnail URL Read only: true The url of the thumbnail preview.
      size Type: Integer Title: File Size Read only: true The size of the file in bytes.
      created_at Type: String Title: Created Date Read only: true The date and time a file was added to the File Manager.
      created_by Type: String Title: Created By Read only: true The username of the profile that uploaded the file.
      width Type: Integer Title: Image Width Read only: true The width of the image.
      height Type: Integer Title: Image Height Read only: true The height of an image.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.
      total_file_size Type: Number Title: Total File Size Read only: true The total size of all File Manager files in bytes.
      total_items Type: Integer Title: Item Count Read only: false The total number of items matching the query regardless of pagination.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

      Example request

      
      curl --request GET \
      --url 'https://usX.api.mailchimp.com/3.0/file-manager/files' \
      --user 'anystring:apikey' \
      --include
                                      

      Example response

      
      HTTP/1.1 200 OK
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Vary: Accept-Encoding
      X-Request-Id: cda399db-c483-4d68-b520-006728b801a6
      Link: <https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json>; rel="describedBy"
      Date: Wed, 16 Sep 2015 12:55:05 GMT
      Content-Length: 10406
      Connection: keep-alive
      
      
      {
        "files": [
          {
            "id": 1846681,
            "folder_id": 0,
            "type": "image",
            "name": "freddie.jpg",
            "full_size_url": "https://gallery.mailchimp.com/8d3a3db4d97663a9074efcc16/images/xxxx.jpg",
            "thumbnail_url": "https://gallery.mailchimp.com/8d3a3db4d97663a9074efcc16/_thumbs/xxxx.jpg",
            "size": 12945,
            "created_at": "2015-07-01 17:17:47",
            "created_by": "Freddie",
            "width": 379,
            "height": 275,
            "_links": [
              {
                "rel": "self",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1846681",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
              },
              {
                "rel": "update",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1846681",
                "method": "PATCH",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
              },
              {
                "rel": "delete",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1846681",
                "method": "DELETE",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
              },
              {
                "rel": "parent",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json",
                "schema": "https://api.mailchimp.com/schema/3.0/CollectionLinks/FileManager/Files.json"
              }
            ]
          },
          {
            "id": 1846021,
            "folder_id": 0,
            "type": "file",
            "name": "order-details.pdf",
            "full_size_url": "https://gallery.mailchimp.com/8d3a3db4d97663a9074efcc16/files/xxxx.pdf",
            "thumbnail_url": "",
            "size": 103446,
            "created_at": "2015-06-30 22:06:01",
            "created_by": "Freddie",
            "width": 0,
            "height": 0,
            "_links": [
              {
                "rel": "self",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1846021",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
              },
              {
                "rel": "update",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1846021",
                "method": "PATCH",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
              },
              {
                "rel": "delete",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1846021",
                "method": "DELETE",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
              },
              {
                "rel": "parent",
                "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
                "method": "GET",
                "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json",
                "schema": "https://api.mailchimp.com/schema/3.0/CollectionLinks/FileManager/Files.json"
              }
            ]
          }
        ],
        "total_file_size": 116391,
        "total_items": 2,
        "_links": [
          {
            "rel": "parent",
            "href": "https://usX.api.mailchimp.com/3.0/",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/Root.json"
          },
          {
            "rel": "self",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json",
            "schema": "https://api.mailchimp.com/schema/3.0/CollectionLinks/FileManager/Files.json"
          },
          {
            "rel": "create",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
            "method": "POST",
            "schema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          }
        ]
      }
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.

      Get a specific file

      GET /file-manager/files/{file_id}

      Get information about a specific file in the File Manager.

      Path parameters

      file_id The unique id for the File Manager file.

      Query string parameters

      fields Type: Array Title: Fields Read only: false A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
      exclude_fields Type: Array Title: Exclude Fields Read only: false A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

      Response body parameters

      id Type: Integer Title: File ID Read only: true The unique id of the file.
      folder_id Type: Integer Title: Folder ID Read only: false The id of the folder.
      type Type: String Title: File Type Read only: true The type of file in the File Manager.
      Possible Values:
      • image
      • file
      name Type: String Title: File Name Read only: false The name of the file.
      full_size_url Type: String Title: File URL Read only: true The url of the full-size file.
      thumbnail_url Type: String Title: Thumbnail URL Read only: true The url of the thumbnail preview.
      size Type: Integer Title: File Size Read only: true The size of the file in bytes.
      created_at Type: String Title: Created Date Read only: true The date and time a file was added to the File Manager.
      created_by Type: String Title: Created By Read only: true The username of the profile that uploaded the file.
      width Type: Integer Title: Image Width Read only: true The width of the image.
      height Type: Integer Title: Image Height Read only: true The height of an image.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

      Example request

      
      curl --request GET \
      --url 'https://usX.api.mailchimp.com/3.0/file-manager/files/1890965' \
      --user 'anystring:apikey' \
      --include
                                      

      Example response

      
      HTTP/1.1 200 OK
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Content-Length: 1130
      Vary: Accept-Encoding
      X-Request-Id: 65b4a87a-323a-4f20-9d26-17aca500f64c
      Link: <https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json>; rel="describedBy"
      Date: Wed, 16 Sep 2015 13:09:31 GMT
      Connection: keep-alive
      
      
      {
        "id": 1890965,
        "folder_id": 0,
        "type": "file",
        "name": "test.txt",
        "full_size_url": "https://gallery.mailchimp.com/8d3a3db4d97663a9074efcc16/files/test.txt",
        "thumbnail_url": "",
        "size": 32,
        "created_at": "2015-09-16 13:04:51",
        "created_by": "Freddie",
        "width": 0,
        "height": 0,
        "_links": [
          {
            "rel": "self",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "update",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "PATCH",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "delete",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "DELETE",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "parent",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json",
            "schema": "https://api.mailchimp.com/schema/3.0/CollectionLinks/FileManager/Files.json"
          }
        ]
      }
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.
    • Update a specific file

      PATCH /file-manager/files/{file_id}

      Update a file in the File Manager.

      Path parameters

      file_id The unique id for the File Manager file.

      Request body parameters

      folder_id Type: Integer Title: Folder ID Read only: false The id of the folder. Setting folder_id to 0 will remove a file from its current folder.
      name Type: String Title: File Name Read only: false The name of the file.

      Response body parameters

      id Type: Integer Title: File ID Read only: true The unique id of the file.
      folder_id Type: Integer Title: Folder ID Read only: false The id of the folder.
      type Type: String Title: File Type Read only: true The type of file in the File Manager.
      Possible Values:
      • image
      • file
      name Type: String Title: File Name Read only: false The name of the file.
      full_size_url Type: String Title: File URL Read only: true The url of the full-size file.
      thumbnail_url Type: String Title: Thumbnail URL Read only: true The url of the thumbnail preview.
      size Type: Integer Title: File Size Read only: true The size of the file in bytes.
      created_at Type: String Title: Created Date Read only: true The date and time a file was added to the File Manager.
      created_by Type: String Title: Created By Read only: true The username of the profile that uploaded the file.
      width Type: Integer Title: Image Width Read only: true The width of the image.
      height Type: Integer Title: Image Height Read only: true The height of an image.
      _links Type: Array Title: Links Read only: true A list of link types and descriptions for the API schema documents.
      Show properties
      rel Type: String Title: Rel Read only: true As with an HTML ‘rel’ attribute, this describes the type of link.
      href Type: String Title: Href Read only: true This property contains a fully-qualified URL that can be called to retrieve the linked resource or perform the linked action.
      method Type: String Title: Method Read only: true The HTTP method that should be used when accessing the URL defined in ‘href’.
      Possible Values:
      • GET
      • POST
      • PUT
      • PATCH
      • DELETE
      • OPTIONS
      • HEAD
      targetSchema Type: String Title: Target Schema Read only: true For GETs, this is a URL representing the schema that the response should conform to.
      schema Type: String Title: Schema Read only: true For HTTP methods that can receive bodies (POST and PUT), this is a URL representing the schema that the body should conform to.

      Example request

      
      curl --request PATCH \
      --url 'https://usX.api.mailchimp.com/3.0/file-manager/files/1890965' \
      --user 'anystring:apikey' \
      --header 'content-type: application/json' \
      --data '{"name": "test.txt", "file_data": "VGhpcyBpcyBhbiBleGFtcGxlIGxpbmUgb2YgdGV4dC4=", "folder_id": 42}' \
      --include
                                      

      Example response

      
      HTTP/1.1 200 OK
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Content-Length: 1130
      Vary: Accept-Encoding
      X-Request-Id: 2f5c829c-3e65-4602-9f2a-35a66f73da8e
      Link: <https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json>; rel="describedBy"
      Date: Wed, 16 Sep 2015 13:11:54 GMT
      Connection: keep-alive
      
      
      {
        "id": 1890965,
        "folder_id": 42,
        "type": "file",
        "name": "test.txt",
        "full_size_url": "https://gallery.mailchimp.com/8d3a3db4d97663a9074efcc16/files/test.txt",
        "thumbnail_url": "",
        "size": 32,
        "created_at": "2015-09-16 13:04:51",
        "created_by": "Freddie",
        "width": 0,
        "height": 0,
        "_links": [
          {
            "rel": "self",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "update",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "PATCH",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "delete",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files/1890965",
            "method": "DELETE",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Instance.json"
          },
          {
            "rel": "parent",
            "href": "https://usX.api.mailchimp.com/3.0/file-manager/files",
            "method": "GET",
            "targetSchema": "https://api.mailchimp.com/schema/3.0/FileManager/Files/Collection.json",
            "schema": "https://api.mailchimp.com/schema/3.0/CollectionLinks/FileManager/Files.json"
          }
        ]
      }
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.
    • Remove a specific file

      DELETE /file-manager/files/{file_id}

      Remove a specific file from the File Manager.

      Path parameters

      file_id The unique id for the File Manager file.

      Example request

      
      curl --request DELETE \
      --url 'https://usX.api.mailchimp.com/3.0/file-manager/files/1890965' \
      --user 'anystring:apikey' \
      --include
                                      

      Example response

      
      HTTP/1.1 204 No Content
      Server: nginx
      Content-Type: application/json; charset=utf-8
      Content-Length: 2
      X-Request-Id: 115010cd-14a6-4263-bfb5-2c11c5e89460
      Date: Wed, 16 Sep 2015 13:19:01 GMT
      Connection: keep-alive
                                      

      Error response

      type Type: String Title: Problem Type Read only: false An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
      title Type: String Title: Error Title Read only: false A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
      status Type: Integer Title: HTTP Status Code Read only: false The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
      detail Type: String Title: Error Message Read only: false A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
      instance Type: String Title: Instance ID Read only: false A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.