Delete a context record
Permanently delete one company profile, product or service, persona, ICP, competitor or intelligence document. Refused with a conflict while something still uses it.
DELETE
https://app.trygtm.com/api/v1/context/{resource}/{id}- Scope
write- MCP tool
- delete_context_record
Path parameters
resourcestringrequired- Which kind of context record it is.
company_profilesproducts_servicespersonasicp_definitionscompetitorsintelligence_documents idstringrequired- The record's id, from read_workspace_context or list_icps.
Headers
Idempotency-Keystringoptional- A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.
Request
curl -X DELETE https://app.trygtm.com/api/v1/context/personas/%E2%80%A6 \
-H "Authorization: Bearer $TRYGTM_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Response
{
"data": {
"deleted": "e5f6a7b8-c9d0-4e1f-8a2b-3c4d5e6f7a8b",
"resource": "competitors"
}
}