Delete a MaaSModelRef¶
DELETE /api/v1/maasmodel/{namespace}/{name}
Deletes a MaaSModelRef Kubernetes custom resource by namespace and name. K8s calls: DELETE /k8s/v1/maasmodelref/:namespace/:name
Authorization¶
Parameters¶
| Name | In | Type | Required | Description |
|---|---|---|---|---|
namespace | path | string | Yes | Namespace of the MaaSModelRef |
name | path | string | Yes | Name of the MaaSModelRef to delete |
Responses¶
| Status | Description | Response body |
|---|---|---|
200 OK | MaaSModelRef deleted successfully | object
|
401 Unauthorized | Unauthorized | None |
404 Not Found | MaaSModelRef 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