Loading...

Knowledge Base

Delete a SiteLock Order Using the API

When you want to delete an existing SiteLock order using the API. This article explains the required parameters and example API request to delete the order.

Delete

 

Description

Deletes an existing SiteLock Order.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe Order ID which is to be deleted

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/sitelock/delete.json?auth-userid=0&api-key=key&order-id=0

Response

Returns a hash map containing the below details:

  • Domain Name (description)

  • Order ID of the SiteLock Order (entityid)

  • Action Type (actiontype)

  • Description of the SiteLock Order Delete Action (actiontypedesc)

  • Action ID of the SiteLock Order Delete Action (eaqid)

  • SiteLock Order Delete Action Status (actionstatus)

  • Description of the SiteLock Order Delete Action Status (actionstatusdesc)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.