Skip to main content
PUT
/
forms
/
{form_id}
/
expiry-days
Update Form Expiry Days
curl --request PUT \
  --url https://api.decodahealth.com/forms/{form_id}/expiry-days \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "formId": "<string>",
  "expiryDays": 2
}
'
true

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

form_id
string
required

Body

application/json
formId
string
required
expiryDays
integer | null
Required range: x >= 1

Response

Successful Response

The response is of type boolean.