REST API - disable

vcenter namespace management clusters: disable

Disable vSphere Namespaces on the cluster. This operation tears down the Kubernetes instance and the worker nodes associated with vSphere Namespaces enabled cluster.

Request:

HTTP request

POST https://{server}/api/vcenter/namespace-management/clusters/{cluster}

?action=disable

Path Parameters

Name Type Description
Required
cluster string Identifier for the cluster for which vSphere Namespaces will be disabled.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
404 not_found if cluster could not be located.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user does not have Namespaces.Manage privilege.