deleteSubscriptionPhaseWith

suspend fun deleteSubscriptionPhaseWith(subscriptionId: String, phaseId: String): NetworkingError?

Deletes a single phase from the specified subscription.

Return

A NetworkingError if the request failed, or null on success.

Parameters

subscriptionId

The ID of the subscription that owns the phase.

phaseId

The ID of the phase to delete.


fun deleteSubscriptionPhaseWith(subscriptionId: String, phaseId: String, completionHandler: (NetworkingError?) -> Unit)

Deletes a single phase from the specified subscription and delivers the result via callback.

Parameters

subscriptionId

The ID of the subscription that owns the phase.

phaseId

The ID of the phase to delete.

completionHandler

Callback invoked with a NetworkingError on failure, or null on success.