Skip to main content
PUT
/
template
/
{id}
/
risk-level
Update template risk level
curl --request PUT \
  --url https://api.promptmetrics.dev/template/{id}/risk-level \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "risk_level": "LOW",
  "note": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
risk_level
enum<string>
required
Available options:
LOW,
MEDIUM,
HIGH,
CRITICAL
note
string
required

Response

Risk level updated