Delete webinar - Zoho Webinar
Table of Contents
Note: This task is applicable to all services except Zoho Creator.
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"
}
}