Skip to content
API Reference
Records

Delete object

Delete object using the reviewed public Micro API contract. Authentication uses the x-api-key header.

DELETE/v2/prism/{teamId}/{objectType}/{objectId}
x-api-key<token>

Public API key generated from Micro settings. Sent as the x-api-key header and validated by AWS API Gateway in front of the service.

In: header

Path Parameters

teamId*string
Formatuuid
objectType*string

Object types that support CRUD, query, list, and per-type property metadata. GET /v2/prism/{teamId}/properties (list-all) also returns definitions for pipeline-owned types that are not in this set — including message, thread, and linkedin_thread. Those types are not queryable. Contacts expose last_email as a ref_message; you cannot query message to follow it.

Value in

  • "comment"
  • "deal"
  • "engagement"
  • "identity"
  • "ai_chat_thread"
  • "ai_chat_message"
  • "agent_site"
  • "document"
  • "action"
  • "event"
  • "organization"
  • "contact"
objectId*string
Formatuuid

Header Parameters

If-Match?string

Optimistic concurrency. Pass back the etag header from a previous GET of this record; the write only proceeds if the record hasn't changed since. Mismatch → 412 precondition_failed. Use * to require the record exists (any ETag accepted).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://developers.micro.so/v2/prism/${MICRO_TEAM_ID}/comment/${RECORD_ID}" \  -H "x-api-key: $MICRO_API_KEY"
Empty
micro.so