Bluejay Delete Schedule API

The Delete Schedule API from Bluejay — 1 operation(s) for delete schedule.

OpenAPI Specification

bluejay-delete-schedule-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Bluejay Agents Delete Schedule API
  description: Bluejay API
  version: 0.1.0
servers:
- url: https://api.getbluejay.ai
  description: Production server
security:
- apiKeyAuth: []
tags:
- name: Delete Schedule
paths:
  /v1/delete-schedule/{schedule_id}:
    delete:
      summary: Delete Schedule
      operationId: delete_schedule_v1_delete_schedule__schedule_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: schedule_id
        in: path
        required: true
        schema:
          type: string
          title: Schedule Id
      - name: X-API-Key
        in: header
        required: true
        schema:
          type: string
        description: API key required to authenticate requests.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteCronJobResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Delete Schedule
components:
  schemas:
    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
    DeleteCronJobResponse:
      properties:
        status:
          type: string
          enum:
          - success
          - error
          title: Status
          description: The status of the delete operation.
        message:
          type: string
          title: Message
          description: A message providing additional details about the operation.
      type: object
      required:
      - status
      - message
      title: DeleteCronJobResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key required to authenticate requests.