Delete webinar - Zoho Webinar
Table of Contents
Note:
- This task is applicable to all services except Zoho Creator.
- Each time the zoho.webinar.deleteWebinar integration task is executed, it triggers an API request in the back-end. This call is deducted from the external calls limit available for the service from which the task is executed, based on your pricing plan.
- Only actual executions that receive a response (whether success or failure) are counted, not the number of times the task appears in the script. For example, if zoho.webinar.deleteWebinar integration task is placed inside a for each task that iterates five times, the number of external calls consumed will be five, even though the task appears only once in the script.
Overview:
This task is used to delete a webinar using a webinar key in Zoho Webinar.
This task is based on Zoho Webinar API: Delete a webinar
Syntax:
<variable> = zoho.webinar.deleteWebinar(<portal_id>, <webinar_key>, <connection>);
where:
| Params | Data type | Description |
| <variable> | KEY-VALUE | Specifies the variable that will hold the response returned by Zoho Webinar. |
| <portal_Id> | NUMBER | Specifies the unique portal identifier where the webinar will be created. Note: Portal_Id can be fetched in the following ways.
|
| <webinar_key> | NUMBER | Specifies the key identifier of the webinar to be deleted. |
| <connection> | TEXT | Specifies the link name of the Zoho Webinar connection. Required scope for this connection: ZohoWebinar.webinar.DELETE |
Example: Deleting webinar with the webinar key.
The following script deletes the webinar with the webinar key in Zoho webinar.
response = zoho.webinar.deleteWebinar(99031443,105771223,"webinar");
where:
responseIs the KEY-VALUE returned by Zoho Webinar. It represents the webinar details.
"99031443"Is the NUMBER unique portal identifier where the webinar will be updated.
"105771223"Is the NUMBER variable that holds the value of the webinar to be deleted.
"webinar"Is the TEXT that represents the name of the connection.
Sample response
Success response
The success response returned is in the following format.
204 - No content
Failure response
{
"error": {
"errorCode": 4000,
"message": "The meeting key is invalid.",
"key": "INVALID_MEETING_KEY"
}
}
"error": {
"errorCode": 4000,
"message": "The meeting key is invalid.",
"key": "INVALID_MEETING_KEY"
}
}