Skip to navigation

Delete Harbor Context Document

Beta

Deletes one context document from a Harbor.

Deleting a context document does not affect the Harbor or its other context documents.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

harbor_idstringRequiredformat: "uuid"
Unique identifier of the Harbor
context_idstringRequiredformat: "uuid"
Unique identifier of the context document

Headers

X-Polytomic-VersionstringOptional
X-Polytomic-Harbor-SessionstringOptional

Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.

X-Polytomic-Activity-Request-IDstringOptional

New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.

Response

OK
dataobjectOptional
The deleted context document

Errors

403
Forbidden Error
404
Not Found Error
500
Internal Server Error