Update an expiry's recurrence settings
post
https://api.expiryedge.com/v1/updateRecurrenceSettingseditor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/updateRecurrenceSettings' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"expiryId": "exp_4Tq9sLm2",
"is_recurring": true,
"recurrence_type": "year",
"recurrence_interval": 1,
"recurrence_count": null,
"recurrence_end_date": null,
"recurrence_mode": "renew_as_copy"
}'Response
{
"message": "Recurrence settings updated successfully",
"settings": {
"is_recurring": true,
"recurrence_type": "year",
"recurrence_interval": 1,
"recurrence_count": null,
"recurrence_end_date": null,
"recurrence_mode": "renew_as_copy",
"updated_at": "2026-09-27T14:05:00.000Z"
}
}Replaces all recurrence fields. With is_recurring: false every recurrence field is cleared.
expiryIdstringrequiredis_recurringbooleanrecurrence_typestring | nullRequired whenis_recurringis true.Alloweddayweekmonthyearrecurrence_intervalinteger | nullRequired whenis_recurringis true.min: 1recurrence_countinteger | nullStop after this many occurrences.min: 1recurrence_end_datestring | nullMust not be before the expiry date.recurrence_modestring | nullDefaults torenew_as_copy.Allowedrenew_as_copyrenew_same
200
Updated;
settings echoes what was stored.messagestringsettingsobject
400 | Missing expiryId or invalid recurrence configuration (details lists the problems). |
401 | Missing, expired or invalid bearer token. |
403 | Authenticated, but your role or organization does not allow this action. |
404 | The record does not exist or is not in your organization. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
