> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendrealm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Push Campaigns Cancel — Commit

> Cancel remaining scheduled work; already processing or delivered messages cannot be recalled. Personal keys only; current scope, project grants and role capability are required. Billing is excluded.

Requires a scoped personal key, explicit project context and current role authorization. See [Agent messaging and project operations](https://docs.sendrealm.com/tutorials/agent-messaging-project-operations.md) for review, execution receipts and recovery.


## OpenAPI

````yaml api-reference/openapi.json POST /project-operations/push_campaigns_cancel/execute
openapi: 3.0.1
info:
  title: Sendrealm API
  description: >-
    API for email, push, audience resources, domains, campaign drafts,
    templates, events, topics, and automations
  license:
    name: MIT
  version: 0.4.0
servers:
  - url: https://api.sendrealm.com
security:
  - bearerAuth: []
paths:
  /project-operations/push_campaigns_cancel/execute:
    post:
      tags:
        - Agent project operations
      summary: >-
        Cancel remaining scheduled work; already processing or delivered
        messages cannot be recalled.
      description: >-
        Cancel remaining scheduled work; already processing or delivered
        messages cannot be recalled. Personal keys only; current scope, project
        grants and role capability are required. Billing is excluded.
      operationId: push_campaigns_cancel_execute
      parameters:
        - name: X-Sendrealm-Project-Id
          in: header
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/McpPreparedExecution'
      responses:
        '200':
          description: Authorized result, preparation, or durable execution receipt.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  data:
                    $ref: '#/components/schemas/McpProjectOperationReceipt'
                additionalProperties: false
                required:
                  - status
                  - data
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Personal credential required or expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Scope, current role or project grant denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource unavailable or feature disabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Stale preparation or conflicting resource state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Operational content validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    McpPreparedExecution:
      type: object
      properties:
        prepared_action_id:
          type: string
          format: uuid
        idempotency_key:
          type: string
          minLength: 1
          maxLength: 160
      additionalProperties: false
      x-sendrealm-mcp-contract: true
      required:
        - prepared_action_id
        - idempotency_key
    McpProjectOperationReceipt:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          maxLength: 36
          format: uuid
          description: >-
            UUID returned by the matching discovery tool in the selected
            project.
        operation:
          type: string
          maxLength: 160
        status:
          type: string
          enum:
            - pending
            - executing
            - completed
            - failed
            - authorization_lost
            - outcome_unknown
        result:
          $ref: '#/components/schemas/McpJsonValue'
        error_code:
          type: string
          maxLength: 100
          nullable: true
        poll_after_ms:
          type: integer
        corrective_action:
          type: string
          maxLength: 1000
      required:
        - id
        - operation
        - status
        - poll_after_ms
      x-sendrealm-mcp-contract: true
    Error:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: integer
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              $ref: '#/components/schemas/JsonValue'
            issues:
              type: array
              items:
                $ref: '#/components/schemas/ValidationIssue'
    McpJsonValue:
      oneOf:
        - type: string
          nullable: true
        - type: number
        - type: boolean
        - type: array
          items:
            $ref: '#/components/schemas/McpJsonValue'
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/McpJsonValue'
      description: >-
        JSON application data. Do not include credentials or unnecessary
        personal data.
      x-sendrealm-mcp-contract: true
    JsonValue:
      oneOf:
        - type: string
          nullable: true
        - type: number
        - type: boolean
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
        - type: array
          items:
            $ref: '#/components/schemas/JsonValue'
    ValidationIssue:
      type: object
      required:
        - code
        - path
        - message
      properties:
        code:
          type: string
        path:
          type: string
          nullable: true
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Integration key for backend workloads, or a scoped personal key
        (sr_user_) for account discovery and supported project operations. MCP
        accepts only personal keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.