deleteVoucher

Delete an enterprise voucher. Returns true on success.

deleteVoucher takes no enterpriseId, so guard against cross-tenant deletion by confirming the target row belongs to the authorized enterprise first.

Arguments

    voucherId
    Int!
    Required
    Unique identifier of the voucher to delete.

Returns

    Boolean!
    Required

    Delete an enterprise voucher. Returns true on success.

    deleteVoucher takes no enterpriseId, so guard against cross-tenant deletion by confirming the target row belongs to the authorized enterprise first.

Built with