core_v1

delete a Service

delete/api/v1/namespaces/{namespace}/services/{name}

Query parameters

gracePeriodSecondsinteger

The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

orphanDependentsboolean

Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list.

Response

OK

codeinteger

Suggested HTTP return code for this status, 0 if not set.

messagestring

A human-readable description of the status of this operation.

reasonstring

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

statusstring

Status of the operation. One of: "Success" or "Failure". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status

Changes