DELETE /API/PublicReporting/Update/

Basic Intro

Deletes an existing Public Reporting Page from your account. NOTE: Authentication required

Parameters
Parameter Type Restrictions Description Required
id Integer - The ID of the Public Reporting Page to delete YES

Note: id must be provided via a URL parameter. See below for example requests and responses.


Response Codes

Success

  • HTTP 200 - Success - The page was deleted.

User Error

  • HTTP 400 - Request Failed - Generic Error: Please check output for more information.
  • HTTP 404 - Not Found - The selected ID was not found on this account.
  • HTTP 405 - Invalid Method - Invalid method used. Only supports DELETE.

Account Issues

  • HTTP 401 - Authorization Required - Provide Correct Username and API key
  • HTTP 429 - API Usage Limit Exceeded - Your limit was exceeded. Check your account for more information.

Example Output

Delete a page
Curl Request

curl -H "API: [APIKey]" -H "Username: [Username]" -X DELETE https://app.statuscake.com/API/PublicReporting/Update/?id=Xyzzy1

The output is returned as a json array

{
    "success": true,    // Returns false on error
    "message": "",      // Additional information, if available
    "data":             // Unused       
}