SYNOPSIS

int MGOdelsubadmin (Admin *adm)

DESCRIPTION

The MGOdelsubadmin() function deletes a subscription admin record. Information is passed through adm. The required fields are: are:

adm.principal is the principal name. adm.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

MGOinssubadmin(), MGOselsubadmin(), MGOselrsubscription(), MGOupdsubadmin(), MGOzero()