Skip to main content
PUT
/
v2
/
issuer
/
claims
/
{claim_id}
/
cases
Set claim cases
curl --request PUT \
  --url https://api.decisionly.com/v2/issuer/claims/{claim_id}/cases \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "case_ids": [
    "case_xyz789",
    "case_mno012",
    "case_abc123"
  ]
}
'
{
"claim_id": "claim_abc123",
"cases": [
{
"case_id": "case_xyz789"
},
{
"case_id": "case_mno012"
},
{
"case_id": "case_abc123"
}
]
}

Authorizations

Authorization
string
header
required

Use your API key as the username. No password is required.

Path Parameters

claim_id
string
required

Body

application/json
case_ids
string[]
required

Complete array of case IDs that should be in this claim. This replaces the existing cases.

Minimum array length: 1
Example:
["case_xyz789", "case_mno012", "case_abc123"]

Response

Successfully updated the claim cases.

claim_id
string
cases
object[]

All cases now in the claim.