Delete Harbor Context Draft
Discards the mutable draft for a Harbor context document.
Discarding a draft does not change the current published version or its history. If the draft belongs to a context that has never been published, discarding it also removes the otherwise empty context identity.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
harbor_id
Unique identifier of the Harbor
context_id
Unique identifier of the context document
Headers
X-Polytomic-Version
X-Polytomic-Harbor-Session
Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.
X-Polytomic-Activity-Request-ID
New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.
Response
OK
data
The discarded context draft
Errors
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
