Documentation Pricing
Enterprise
Sign in Sign up
Documentation Pricing Enterprise
Better Stack

Website monitoring
Monitor any web. Check every user flow.
Incident management & on-call
Get a call when your website goes down
Status page
Communicate downtime & build trust
Incident silencing
Reduce alert noise & prevent alert fatigue
Slack-based incident management
Resolve incidents directly in Slack
Better Stack

Log management
Collect insights across your stack
Observability dashboards
Analyze metrics across your services
Community home Guides Questions Comparisons Blog
Work at Better Stack Engineering Security
  • Uptime
  • Logs
Explore documentation
  1. Welcome to Logs 👋
  2. Quick start guide
  3. Logs sources
    1. Programming languages
    2. Cloud platforms
    3. Web servers & Load balancers
    4. Operating systems
    5. Databases & Message queues
    6. Containers & Clusters
    7. Logging & Monitoring tools
    8. HTTP REST API
  4. Log Forwarding
    1. Vector (Recommended)
    2. Fluent Bit
    3. Logstash
    4. Fluentd
    5. Filebeat
    6. Syslog
  5. Dashboards
    1. SQL queries
    2. Query variables
    3. Transforming with JavaScript
    4. Alerts
  6. API
    1. Get started with Logs API
    2. Sources API
      1. List all existing sources GET
      2. Get a single source GET
      3. Create a source POST
      4. Update a source PATCH
      5. Delete an existing source DELETE
      6. Sources API response parameters
    3. Query API
  7. Using Logs
    1. AWS S3-compatible archive
    2. String + JSON format
    3. Formatting logs
    4. Live tail query language
    5. Explore logs with SQL
    6. Querying data in Better Stack

Delete an existing source

Permanently deletes an existing source.

DELETE https://logtail.com/api/v1/sources/{source_id}

URL parameters

id
required string

ID of the source you want to delete

Headers

Authorization
required string

Bearer $TOKEN

204

The source was deleted.

404

Your team has no source with the given ID

Response body

{
  "errors": "Resource with provided ID was not found"
}

Don't have your API token?

Please, see obtaining an API token

Looking for details of a specific parameter?

Explore list of all Sources API response parameters


Previous article

Update a source

Next article

Sources API response parameters

Platform
Enterprise
Uptime
Logs
Solutions
Log management
Uptime monitoring
Website monitoring
Incident management
Status page
Incident silencing
Slack-based incident management
Dashboards
Integrations
Resources
Help & Support
Uptime docs
Logs docs
Company
Work at Better Stack
Engineering
Security
Community
Guides
Questions
Comparisons
Blog
Write for us
Company
Work at Better Stack
Engineering
Security
Resources
Help & Support
Uptime docs
Logs docs
Compare
Pingdom Pagerduty StatusPage.io Uptime Robot StatusCake Opsgenie VictorOps
From the community
What Is Incident Management? Beginner’s Guide How to Create a Developer-Friendly On-Call Schedule in 7 steps 8 Best Free & Open Source Status Page Tools in 2024 10 Best API Monitoring Tools in 2024 5 Most Used Incident Management Tools (Reviewed & Ranked)

Better Stack lets you see inside any stack, debug any issue, and resolve any incident.

+1 (201) 500-2007 hello@betterstack.com
Terms of Use Privacy Policy GDPR System status
© 2024 Better Stack, Inc.