collections.deleteCollection

Syntax

bool collections.deleteCollection ( int id, int vhost = NULL )

Argument Info

NameTypeRequiredDefault valueDescription
idintRequirednoneThe ID of collection that is to be deleted.
vhostintOptionalNULLThe vhost ID that the collection belongs to.

Response

The response for the successful deletion of a collection.

NameTypeDescriptionDefault Values
resultINTUpon success the response will be a 1.1 = success, error message

Return Values

FieldDescriptionPossible Values