Skip to main content
PATCH
/
v1
/
patterns
/
{pattern_id}
Patch Pattern
curl --request PATCH \
  --url https://api.example.com/v1/patterns/{pattern_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

pattern_id
string
required

Body

application/json
status
enum<string> | null
Available options:
emerging,
active,
mitigating,
resolved
name
string | null

Response

Successful Response