decline_data_share

Stop receiving a data share

act entity controlled-share since 2026-10-01

Stops a data share another org made with this org: nothing more is sent to its addresses, and the org that made it sees that this org declined it. Only that org can share it again, as a new share. Documents this org holds a seat on are not affected. Declining a declined share changes nothing; a revoked share is refused.

Contract

shape
entity
authority
act
evidence
none
subscription
false
permission
any one of: org.admin (carried by the caller's role template in the org `org_id`); a deactivated caller is refused first
idempotency
natural
emits
share.declined
MCP tool
decline_data_share
decision_set
approve, reject
REST
POST https://api.containertradehq.com/v1/cap/decline_data_share

Through MCP this call returns an approval request first; see Approvals.

Idempotency: keyed by the contract's own inputs: the same inputs replay the first call's result

Inputs

nametyperequiredvalidation
org_idorg_idrequiredtradehq-org-id; 1 to 20 characters
The receiving org: the one that has claimed the share's party.
data_share_iduuidrequiredUUID
The share, as list_received_data_shares names it.

Response

  • data_share_id · string · The share.
  • from_org_id · string · The org that made it.
  • declined_at · string · When it was declined.
  • declined_by · string · Who declined it.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "data_share_id": {
      "type": "string",
      "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
      "format": "uuid",
      "description": "The share.",
      "x-data-class": "operational"
    },
    "from_org_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20,
      "pattern": "^[A-Za-z0-9_-]{1,20}$",
      "format": "tradehq-org-id",
      "description": "The org that made it.",
      "x-data-class": "operational"
    },
    "declined_at": {
      "type": "string",
      "format": "date-time",
      "description": "When it was declined.",
      "x-data-class": "operational"
    },
    "declined_by": {
      "type": "string",
      "description": "Who declined it.",
      "x-data-class": "operational"
    }
  },
  "required": [
    "data_share_id",
    "from_org_id",
    "declined_at",
    "declined_by"
  ],
  "additionalProperties": false
}

Refusals

The platform refusals apply to every call: version, authentication, authority, validation and rate limits, each in the same envelope.

Surfaces

DesktopF
MobileF
APIF
MCPF*
VoiceD2
PushF
OneBoxN
OutboundN
  • MCP: approval required
  • Voice: degraded: confirmation
  • OneBox: no document originates a decline
  • Outbound: a decline sends nothing; it stops what the share sent

Events

Related

preview_data_share, revoke_data_share