Delete supplemental table

Use this interface to delete a Supplemental Table.

Service URL:

/rest/api/v1.3/folders/{folderName}/suppData/{suppTableName}/table

Request Method:

DELETE

Request Header:

Authorization=<AUTH_TOKEN>

Path Parameters:

  • folderName– Name of the folder where the supplemental table is located.
  • suppTableName– Name of the supplemental table to delete.

Request Body:

None

Sample Request:

rest/api/v1.3/folders/folder_name/suppData/supplemental_table_name/table

Sample Response in case of success:

{
  "suppTableName": "supplemental_table_name",
  "links": [
    {
      "rel": "self",
      "href": "/rest/api/v1.3/folders/folder_name/suppData/supplemental_table_name/table",
      "method": "DELETE"
    }
  ]
}

Sample Responses in case of failure

404 Not Found

Supplemental Table not found: Requests fail if the Supplemental Table name specified cannot be found in Responsys. The error resembles:

{
  "type": "",
  "title": "Table not found",
  "errorCode": "TABLE_NOT_FOUND",
  "detail": "No Supplemental Table found for given name [supplemental_table_name ]",
  "errorDetails": []
}

Folder name not found: Requests fail if the folder name specified cannot be found in Responsys. The error resembles:

{
  "type": "",
  "title": "Folder not found",
  "errorCode": "FOLDER_NOT_FOUND",
  "detail": "Folder name [folder_name] does not exist",
  "errorDetails": []
}

404 Not Found

Insufficient access: Requests fail if the user performing the request does not have the Table Manager role. The error resembles:

{
  "type": "",
  "title": "Insufficient access",
  "errorCode": "INSUFFICIENT_ACCESS",
  "detail": "Insufficient privileges to invoke this API",
  "errorDetails": []
}