Skip to product menu
Skip to main content

Delete an event

The "Delete an Event" API allows users to remove a specific event from their Zoho Backstage portal. To perform this action, users must provide both the portal_id and event_id, which uniquely identify the portal and the event, respectively.

 

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

 

OAuth Scope

zohobackstage.event.DELETE

 

Path Parameters 

  • portal_id (Long Integer)
    The unique identifier of the portal from which you want to delete the event. For example, "portal_id": "19593237" specifies the portal with ID 19593237.
  • event_id (Long Integer)
    The unique identifier of the event you wish to delete. For example, "event_id": "20000000003002" specifies the event with ID 20000000003002.

 

Response Structure and Field Explanations 

The response provides a simple JSON object indicating the result of the deletion request. Below are the fields included in the response, along with explanations:

  • status_code (Integer)
    This field represents the HTTP status code of the response. For example, "status_code": 200 indicates that the event was successfully deleted. Other status codes may indicate errors or other outcomes.
  • message (String)
    The message field provides additional information about the response. For instance, "message": "Your <b>Marketing Event</b> event has been deleted" confirms the successful deletion of the event. Other messages may provide details in case of errors.

URL

Copied/v3/portals/{portal_id}/events/{event_id}

Example

Copiedhttps://zohoapis.com/backstage/v3/portals/19593237/events/2000000116588

Sample Response

Copied{
    "status_code": "200",
    "message": "Your <b>Marketing Event</b> event has been deleted"
}