> For the complete documentation index, see [llms.txt](https://developer.paddle.com/llms.txt).

# Method not allowed

The endpoint doesn't support the HTTP method you used.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "method_not_allowed",
    "detail": "HTTP method used isn't allowed for this endpoint.",
    "documentation_url": "https://developer.paddle.com/errors/shared/method_not_allowed"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 405 |
| Error code | `method_not_allowed` |
| Error message | HTTP method used isn't allowed for this endpoint. |

## Common causes

- You used an HTTP method that's not supported by the endpoint you're trying to work with.
- You're trying to delete an entity that doesn't support it. Most entities in Paddle can't be deleted because they can be linked to other entities, or Paddle is required to keep them for recordkeeping purposes.

## Common solutions

- Check [the API reference guides](https://developer.paddle.com/api-reference/overview) to see which methods are supported by each endpoint, and to check how to change the status of a particular entity.
- If you're trying to delete an entity, consider changing its status to `archived`, `canceled`, or similar depending on the endpoint you're working with.
- Check the `Allow` header included with the response from the Paddle API. This lets you know which methods the endpoint supports.
