Skip to main content
PUT
/
api
/
v1
/
monitors
/
{monitorId}
/
auth
Update authentication config for a monitor
curl --request PUT \
  --url https://api.devhelm.io/api/v1/monitors/{monitorId}/auth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "type": "<string>",
    "headerName": "<string>",
    "vaultSecretId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "monitorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "authType": "bearer",
    "config": {
      "type": "<string>",
      "headerName": "<string>",
      "vaultSecretId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

monitorId
string<uuid>
required

Body

application/json
config
object
required

New authentication configuration (full replacement)

Response

200 - */*

OK

data
object