42f4cfea0ea3
latestOpenAPI 3.0.32026-08-14154321638.7 KBHarbors
Delete Harbor Key
Revokes one Harbor credential by its credential ID.
Revocation affects only the selected credential. Other active Harbor credentials remain valid.
delete/api/harbors/{harbor_id}/keys/{key_id}
Path parameters
harbor_idstring uuid required
Unique identifier of the Harbor.
Example:248df4b7-aa70-47b8-a036-33ac447e668d
Unique identifier of the Harbor.
key_idstring uuid required
Unique identifier of the Harbor credential.
Example:248df4b7-aa70-47b8-a036-33ac447e668d
Unique identifier of the Harbor credential.
Headers
X-Polytomic-Versionstring
Response
OK
Example response
{
"data": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
}