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

# Cancel scheduled campaign

> Requires `write:campaigns`. Cancels a queued send (≥15 minutes before send when enforced).



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/marketing/campaigns/{id}/cancel
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.1.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/marketing/campaigns/{id}/cancel:
    post:
      tags:
        - Marketing
      summary: Cancel scheduled campaign
      description: >-
        Requires `write:campaigns`. Cancels a queued send (≥15 minutes before
        send when enforced).
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Cancel scheduled campaign
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1CampaignResponse'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1CampaignResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/V1Campaign'
      required:
        - data
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
    V1Campaign:
      type: object
      properties:
        id:
          type: string
          format: uuid
        teamId:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        status:
          type: string
        type:
          type: string
        channel:
          type: string
        startDate:
          type: string
          nullable: true
          format: date-time
        endDate:
          type: string
          nullable: true
          format: date-time
        socialEventId:
          type: string
          nullable: true
          format: uuid
        metadata:
          nullable: true
        lastRunAt:
          type: string
          nullable: true
          format: date-time
        createdAt:
          type: string
          nullable: true
          format: date-time
        updatedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - id
        - teamId
        - name
        - description
        - status
        - type
        - channel
        - startDate
        - endDate
        - socialEventId
        - lastRunAt
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

## Related topics

- [Cancel or delete a scheduled event](/docs/schedule/cancel-or-delete-a-scheduled-event.md)
- [Pause campaign](/docs/api-reference/marketing/pause-campaign.md)
- [Update campaign](/docs/api-reference/marketing/update-campaign.md)
- [Add campaign message, audience, and publish](/docs/marketing-events/add-campaign-message-audience-and-publish.md)
- [Delete campaign](/docs/api-reference/marketing/delete-campaign.md)


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