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

# Scheduled-charge-deleted event

> Send notification that the user cancelled the scheduled charge, by stopping charging outside Axle's schedule, from your app or at the device.



## OpenAPI

````yaml POST /entities/asset/{asset_id}/event/scheduled-charge-deleted
openapi: 3.1.0
info:
  title: Axle API Docs
  description: >-
    For full documentation please see our official docs at <a
    href='http://docs.axle.energy'>docs.axle.energy</a>
  version: 1.4.6
servers:
  - url: https://api-sandbox.axle.energy
security: []
tags:
  - name: 1. Authentication
    description: Authenticate yourself with the Axle API
  - name: 2. Meters
    description: Find key info about your sites
  - name: 3. Sites
    description: Register your sites with Axle; configure market participation
  - name: 4. Assets
    description: Register your assets with Axle
  - name: 5. Data
    description: Send asset metrics to Axle, for analysis and optimisation purposes
  - name: 6. Rewards
    description: >-
      Determine how much your users have earned by participating with Axle;
      allow balance withdrawal
  - name: 7. Validation
    description: Validate structured data against Axle's rules
  - name: 8. Examples
    description: Get example data for testing
paths:
  /entities/asset/{asset_id}/event/scheduled-charge-deleted:
    post:
      tags:
        - 4. Assets
      summary: Asset Scheduled Charge Deleted Event
      description: >-
        Send notification that the user cancelled the scheduled charge, by
        stopping charging outside Axle's schedule, from your app or at the
        device.
      operationId: >-
        asset_scheduled_charge_deleted_event_entities_asset__asset_id__event_scheduled_charge_deleted_post
      parameters:
        - name: asset_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Asset Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScheduledChargeDeletedEventRequest'
      responses:
        '200':
          description: Scheduled charge deleted event successfully processed
          content:
            application/json:
              schema: {}
        '404':
          description: Asset not found or not authorized to access
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Server error while processing event
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    ScheduledChargeDeletedEventRequest:
      properties:
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
          description: >-
            When the event happened on the device, with a UTC offset. Send the
            device's time rather than the time your system received or forwarded
            the event: Axle uses it to work out how fast the vehicle is charging
            and whether the charge is on track, and a delay between the device
            and your API would otherwise skew both.
        external_session_id:
          type: string
          title: External Session Id
          description: Your ID for the charging session.
      type: object
      title: ScheduledChargeDeletedEventRequest
      description: >-
        Request model for a user stopping charging outside Axle's schedule. The
        event is instantaneous: it marks the

        moment the user stopped, so it carries no end time.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: auth/token-form

````

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