Skip to main content
PATCH
/
providers
/
{id}
/
endpoints
/
{endpointID}
{
  "endpoint": {
    "id": "kSuB9Gf6aD4",
    "providerID": "kSuB9Gf6aD4",
    "method": "GET",
    "path": "/users/{id}",
    "description": "<string>",
    "pathArgsJSONSchema": {},
    "queryArgsJSONSchema": {},
    "reqBodyJSONSchema": {},
    "resBodyJSONSchema": {},
    "headers": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "oauth2Scopes": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter 'Bearer' followed by a space and your token (e.g., 'Bearer ${HASMCP_ACCESS_TOKEN}').

Path Parameters

id
string
required

Provider ID

endpointID
string
required

Endpoint ID

Body

application/json
endpoint
object

Response

200 - application/json

Endpoint updated

endpoint
object