Delete Webhook of an Alias in a Stage
  • 08 Nov 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Delete Webhook of an Alias in a Stage

  • Dark
    Light
  • PDF

Delete Direct URL hash of Alias

Method for deleting Direct URL hash of an Alias in a Stage.

postman Download our collection of Postman queries to see more examples of Corezoid API v2.

URL

https://api.corezoid.com/api/2/json/{{API_LOGIN}}/{{TIMESTAMP}}/{{SIGNATURE}}

Request Body

{
    "ops": [
        {
            "type": "delete",
            "obj": "callback_hash",
            "obj_type": "alias",
            "alias_id": {{ALIAS_ID}},
            "company_id": {{COMPANY_ID}}
        }
    ]
}
Parameter Type Required Description Possible value
ops JSON Object + The list of operations to proceed via Corezoid API. A parameter keeping JSON objects with operations * The number is user-limited by RPS limit.
type string + A request type delete
obj string + An object of request callback_hash
obj_type string + A type of object of request alias
alias_id number + An ID of Alias An ID of existing Alias
company_id string - An ID of a Company An ID of an existing Company

Response Body

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "type": "delete",
            "obj": "alias_callback_hash",
            "proc": "ok"
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops array The list of request results
id string Request ID empty
type string Type of the request delete
obj string Type of the deleted object (Alias webhook) alias_callback_hash
proc string Processing status of a specific operation ok, error