REST API - delete

vcenter content registries harbor: delete

Delete the Harbor registry in the cluster. All Harbor projects, repositories and images will be deleted upon Harbor registry deletion.

Request:

HTTP request

DELETE https://{server}/rest/vcenter/content/registries/harbor/{registry}

Path Parameters

Name Type Description
Required
registry string Identifier of the registry.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
404 not_found if a registry specified by registry could not be found.
500 error if the system reports an error while responding to the request.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user does not have ContentLibrary.ManageRegistry privilege.