Delete a subscription¶
DELETE /api/v1/subscription/{name}
Deletes a MaaSSubscription resource by name. K8s calls: DELETE /k8s/v1/maassubscription/:name
Authorization¶
Parameters¶
| Name | In | Type | Required | Description |
|---|---|---|---|---|
name | path | string | Yes | Name of the MaaSSubscription to delete |
Responses¶
| Status | Description | Response body |
|---|---|---|
200 OK | Subscription deleted successfully | object
|
401 Unauthorized | Unauthorized | None |
403 Forbidden | Forbidden. Insufficient permissions to delete subscription. |
|
404 Not Found | Subscription not found |
|
500 Internal Server Error | Internal Server Error |
|
200 OK response body
| Property | Type | Required | Description |
|---|---|---|---|
message | string | No | Success message |
Example request¶
Example response¶
200 OK, application/json