SYNOPSIS

int MGOdelsubscription (Subscription *sub)

DESCRIPTION

The MGOdelsubscription() function deletes a subscription record. Information is passed through sub. The required fields are:

sub.uwnetid is the uwnetid name. sub.subscription_code is the subscription reference code.

RETURN VALUE

Returns the number of records deleted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOinssubscription(), MGOselsubscription(), MGOselrsubscription(), MGOupdsubscription(), MGOzero()