Deleting a Service
Function
This API is used to delete a specified service.
URI
DELETE /api/v1/namespaces/{namespace}/services/{name}
| Parameter | Description |
|---|---|
| namespace | Object name and auth scope, such as for teams and projects. |
| name | Name of the Service. |
| Parameter | Mandatory | Description |
|---|---|---|
| pretty | No | If 'true', then the output is pretty printed. |
Request
N/A
Response
Response parameters
For the description about response parameters, see Table 72.
Example response
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Success",
"code": 200
} Last Article: Reading the Status of a Service
Next Article: Ingress
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.