Skip to main content
PATCH
/
providers
/
{id}
{
  "provider": {
    "id": "kSuB9Gf6aD4",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "version": 123,
    "apiType": "REST",
    "visibilityType": "PUBLIC",
    "baseURL": "<string>",
    "documentURL": "<string>",
    "iconURL": "<string>",
    "secretPrefix": "<string>",
    "name": "<string>",
    "description": "<string>",
    "endpoints": [
      {
        "id": "kSuB9Gf6aD4",
        "providerID": "kSuB9Gf6aD4",
        "method": "GET",
        "path": "/users/{id}",
        "description": "<string>",
        "pathArgsJSONSchema": {},
        "queryArgsJSONSchema": {},
        "reqBodyJSONSchema": {},
        "resBodyJSONSchema": {},
        "headers": [
          {
            "key": "<string>",
            "value": "<string>"
          }
        ],
        "oauth2Scopes": [
          "<string>"
        ]
      }
    ],
    "oauth2Config": {
      "clientID": "<string>",
      "clientSecret": "<string>",
      "authURL": "<string>",
      "tokenURL": "<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

Body

application/json
provider
object

Response

200 - application/json

Provider updated

provider
object