DeactivateChannel disables a channel license.
POST/api/v1/billing/channels/:channel/deactivate
Stops the channel and billing. Can be immediate or at period end. Channel configuration is preserved for potential reactivation.
Authorization
Requires billing:manage permission.
Billing Options
- at_period_end=false: Immediate deactivation, no refund
- at_period_end=true: Active until billing cycle ends
Errors
- NOT_FOUND: Channel license not found
- FAILED_PRECONDITION: Channel already deactivated
Request
Responses
- 200
- default
A successful response.
An unexpected error response.