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

# method_not_allowed

> HTTP 405 — the HTTP method is not supported on this path.

|                 |                          |
| --------------- | ------------------------ |
| **HTTP status** | `405 Method Not Allowed` |
| **Code**        | `method_not_allowed`     |
| **Retry?**      | No.                      |

## When this happens

The path exists but does not support the HTTP method you used.
Examples:

* `DELETE /api/v1/analyzers/catalog` — the catalog is read-only.
* `PUT /api/v1/analyze/` — the hero call is `POST`-only.

The response includes an `Allow` header listing the methods the path
*does* support.

## Example response

```http theme={null}
HTTP/1.1 405 Method Not Allowed
Allow: GET
```

```json theme={null}
{
  "detail": "Method 'DELETE' not allowed.",
  "code": "method_not_allowed",
  "request_id": "5b3f6c7e-7d24-4d40-9b12-3a59c01c6e91",
  "doc_url": "https://docs.lasscyber.com/errors/method_not_allowed"
}
```

## How to fix

Use one of the methods listed in `Allow`. The auto-generated
[API reference](/api-reference/overview) shows every operation by
method.

## SDK behaviour

405 should never appear from the official SDKs in normal use — they
target the right method for every operation. If you see one from an
SDK, you are probably using `agnes.raw` (Python) /
`agnes.raw.request` (TypeScript) with the wrong path or method.

## Related

* [API reference overview](/api-reference/overview)
