---
agentTools:
  projectIndex: https://shipyard.readme.io/llms.txt
---

# Delete Fleet

Remove a Fleet

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Shipyard API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.app.shipyardapp.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Shipyard-API-Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/orgs/{org_id}/projects/{project_id}/fleets/{fleet_id}": {
      "delete": {
        "summary": "Delete Fleet",
        "description": "Remove a Fleet",
        "operationId": "delete-fleet",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "description": "UUID of the Organization the Fleet Runs are in",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "project_id",
            "in": "path",
            "description": "UUID of the Project the Fleet is in",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "fleet_id",
            "in": "path",
            "description": "UUID of the Fleet",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error_type\": \"/fleets.upsert\",\n  \"error\": {\n    \"type\": \"/fleets.upsert\",\n    \"title\": \"fleets: yaml: unmarshal errors:\\n  line 1: field data-binary not found in type fac.FleetYAML\",\n    \"status\": 400\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_type": {
                      "type": "string",
                      "example": "/fleets.upsert"
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "example": "/fleets.upsert"
                        },
                        "title": {
                          "type": "string",
                          "example": "fleets: yaml: unmarshal errors:\n  line 1: field data-binary not found in type fac.FleetYAML"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6572604cfc3f31000fe88156:665f26527332010062ff462f"
}
```