405

A 405 Method Not Allowed response indicates that the HTTP method you used isn’t supported for the requested resource. For example, some resources allow GET or POST requests but not PUT or DELETE.

In this example, the request used the PUT method, but the endpoint only supports GET and DELETE:

{
  "contextInfo": {
      "allowedMethods": [
          "GET",
          "DELETE"
      ],
      "unsupportedMethod": "PUT"
  },
  "detail": "HTTP method PUT is not allowed. Allowed method(s) are [GET, DELETE].",
  "status": 405,
  "title": "The HTTP method is not allowed.",
  "type": "/mtls-edge-truststore/error-types/method-not-allowed"
}