Harbors
Delete Harbor Context Document
Changed onDeletes one context document from a Harbor.
Deleting a context document does not affect the Harbor or its other context documents.
delete/api/harbors/{harbor_id}/contexts/{context_id}
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
harbor_idstring uuid required
Unique identifier of the Harbor
Example:248df4b7-aa70-47b8-a036-33ac447e668d
context_idstring uuid required
Unique identifier of the context document
Example:248df4b7-aa70-47b8-a036-33ac447e668d
Headers
X-Polytomic-Versionstring
X-Polytomic-Harbor-Sessionstring
Harbor session token; when supplied, the session must be active and bound to this credential and Harbor.
X-Polytomic-Activity-Request-IDstring
New nonzero UUID for each request, required for scoped credentials; a reused value is rejected.
Response
OK
Example response
{
"data": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
}Changes
- info
added the new optional
headerrequest parameterX-Polytomic-Activity-Request-ID - info
added the new optional
headerrequest parameterX-Polytomic-Harbor-Session
- info
- info
endpoint added
- info