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

# Method not allowed

> HTTP 405, method-not-allowed. The endpoint exists but does not accept this HTTP method.

| | |
| - | - |
| Type | `https://docs.pinakelai.com/errors/method-not-allowed` |
| Status | 405 |
| Retry | No. Use the right method. |

## When it happens

Every endpoint is `GET`, except batch retrieve, which is `POST /v1/trademarks/batch`. Sending `POST` to a `GET` endpoint, `GET` to the batch endpoint, or any `PUT`, `PATCH` or `DELETE` gets this error. The API is read-only.

## What to do

Use the method shown in the [endpoint list](https://docs.pinakelai.com/api-reference/introduction.md#endpoints).

## Example

```json Body theme={null}
{
  "type": "https://docs.pinakelai.com/errors/method-not-allowed",
  "title": "Method not allowed",
  "status": 405,
  "detail": "DELETE is not allowed on /v1/trademarks/{id}.",
  "request_id": "req_01M7Q40J9KMNPQRSTVWXYZ0123"
}
```

See the [errors catalogue](https://docs.pinakelai.com/api-reference/errors.md) for every error type, and [Handling errors](https://docs.pinakelai.com/guides/errors.md) for retry strategy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.