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

# Delete a metric source



## OpenAPI

````yaml https://api.arklow.io/swagger/ui/json delete /v1/orgs/{org_id}/metrics/sources/{id}
openapi: 3.1.0
info:
  title: Arklow
  description: Arklow's API
  version: 0.1.0
servers:
  - url: https://api.arklow.io
    description: Production
  - url: http://localhost:3123
    description: Local development
security:
  - apiKey: []
tags:
  - name: actions
  - name: api_keys
  - name: billing
  - name: config
  - name: credentials
  - name: destinations
  - name: invites
  - name: members
  - name: metrics
  - name: notifications
  - name: orgs
  - name: rules
  - name: sources
  - name: users
  - name: ingress
externalDocs:
  url: https://api.arklow.io/swagger/ui
paths:
  /v1/orgs/{org_id}/metrics/sources/{id}:
    delete:
      tags:
        - metrics
      summary: Delete a metric source
      operationId: delete_v1_orgs_by_org_id_metrics_sources_by_id
      parameters:
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: org_id
          required: true
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - errors
                properties:
                  data:
                    anyOf:
                      - type: object
                        required:
                          - id
                          - org_id
                          - name
                          - kind
                          - status
                          - endpoint
                          - poll_interval_seconds
                          - version
                          - applied_version
                          - updated_at
                        properties:
                          id:
                            type: string
                          org_id:
                            type: string
                          name:
                            type: string
                          kind:
                            anyOf:
                              - type: string
                                enum:
                                  - prometheus
                              - type: string
                                enum:
                                  - datadog
                          status:
                            anyOf:
                              - type: string
                                enum:
                                  - active
                              - type: string
                                enum:
                                  - paused
                          endpoint:
                            type: string
                          poll_interval_seconds:
                            type: integer
                          version:
                            type: string
                            pattern: ^[0-9]+$
                          applied_version:
                            type: string
                            pattern: ^[0-9]+$
                          credential_id:
                            anyOf:
                              - type: string
                              - type: 'null'
                          config:
                            anyOf:
                              - type: object
                                additionalProperties: {}
                              - type: 'null'
                          updated_at:
                            type: string
                            format: date-time
                          deleted_at:
                            anyOf:
                              - type: 'null'
                              - type: string
                                format: date-time
                          queries:
                            type: array
                            items:
                              type: object
                              required:
                                - id
                                - source_id
                                - name
                                - status
                                - updated_at
                              properties:
                                id:
                                  type: string
                                source_id:
                                  type: string
                                name:
                                  type: string
                                status:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - active
                                    - type: string
                                      enum:
                                        - paused
                                config:
                                  anyOf:
                                    - type: object
                                      properties:
                                        expression:
                                          type: string
                                        rollup_seconds:
                                          type: integer
                                        window_seconds:
                                          type: integer
                                        group_by:
                                          type: array
                                          items:
                                            type: string
                                        tags:
                                          type: object
                                          additionalProperties:
                                            type: string
                                    - type: 'null'
                                updated_at:
                                  type: string
                                  format: date-time
                                deleted_at:
                                  anyOf:
                                    - type: 'null'
                                    - type: string
                                      format: date-time
                      - type: 'null'
                  errors:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          required:
                            - code
                            - message
                          properties:
                            code:
                              type: string
                            message:
                              type: string
                      - type: 'null'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-arklow-auth
      in: header

````