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

# method-not-allowed

> 405 — the path exists, but not for this HTTP method

<Info>
  **Quick Summary:** The URL is right but the verb is wrong. The `detail` and the `allowedMethods` extension list the methods this path does support.
</Info>

## What happened

You called an existing endpoint with an HTTP method it doesn't implement — for example `DELETE /api/v1/ping`, which only answers `GET`. This is distinct from [`not-found`](/api-docs/errors/not-found): a 404 means no such path, a 405 means the path exists and you should change the method, not the URL.

## Example

```json theme={null}
{
  "type": "https://help.skillsdb.com/api-docs/errors/method-not-allowed",
  "title": "Method not allowed",
  "status": 405,
  "detail": "DELETE is not supported at /api/v1/ping. Allowed: GET, HEAD.",
  "instance": "/api/v1/ping",
  "requestId": "01a05ac5-…",
  "allowedMethods": ["GET", "HEAD"]
}
```

## What to do

Switch to one of the methods in `allowedMethods`. If you expected this operation to exist — say, a `DELETE` on a resource that only documents `POST` — check the endpoint's page in the API reference for the supported operations and any alternative (many removals are modelled as dedicated sub-resources or deactivate endpoints).
