POST
/
validation
/
templates
/
{id}
Update Template
curl --request POST \
  --url https://sandbox.axle.insure/validation/templates/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-client-id: <x-client-id>' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "displayName": "Overwrite Template",
  "rules": [
    {
      "rule": "example-rule"
    },
    {
      "rule": "example-rule-with-input",
      "input": {
        "date": "2025-01-01"
      }
    }
  ]
}'
{
  "success": true,
  "data": {
    "id": "<string>",
    "createdAt": "<string>",
    "modifiedAt": "<string>",
    "rules": [
      {
        "rule": "policy-active"
      }
    ]
  }
}

Authorizations

x-client-secret
string
header
required

Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.

Headers

x-client-id
string
required

Your client ID. This will be shared with you during onboarding.

x-destination-client-id
string

The client ID of the destination client. This is optional and only used by platform clients. See the Axle for Platforms guide for more information.

Path Parameters

id
string
required

The unique ID of the Validation template.

Body

application/json

Response

200
application/json

The response is of type object.