Skip to main content
PATCH
/
v2
/
admin
/
breaches
/
{breachId}
Update Breach Incident
curl --request PATCH \
  --url https://api.loyalty.dog/v2/admin/breaches/{breachId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "affectedRecords": [
    "<string>"
  ],
  "dataCategories": [
    "<string>"
  ],
  "measuresTaken": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /v2/token.

Headers

authorization
string | null

Path Parameters

breachId
string
required
Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

Body

application/json
affectedRecords
string[] | null
dataCategories
string[] | null
measuresTaken
string | null
status
enum<string> | null
Available options:
investigating,
contained,
closed

Response

Successful Response