# Method not allowed

The KeenAuth APIs return this problem type with HTTP status 405 (Method Not Allowed).

## Problem type

| Field | Value |
|---|---|
| Type URI | `https://docs.keenauth.com/errors/method_not_allowed` |
| Code | `method_not_allowed` |
| HTTP status | 405 Method Not Allowed |
| Title | Method not allowed |

## Meaning

The path exists but does not support this method; the `Allow` header lists the supported methods.

## Example response

Example response body. `detail` is a human-readable English description that is not meant for end users; `instance` identifies the request.

```json
{
  "type": "https://docs.keenauth.com/errors/method_not_allowed",
  "title": "Method not allowed",
  "status": 405,
  "code": "method_not_allowed",
  "detail": "...",
  "instance": "urn:idp:request:<request_id>"
}
```

All error codes: [Error reference](/docs/errors).
