Opportunities

Suspend an operator's own opportunity (immediate or scheduled)

Changed on
patch/operator/opportunities/{opportunityId}/suspension/schedule

Request

  • Base URL: https://api.ced.pagopa.it/api/ced-portal/v1
  • URL: https://api.ced.pagopa.it/api/ced-portal/v1/operator/opportunities/{opportunityId}/suspension/schedule
  • Auth: HTTP bearer

Path parameters

opportunityIdstring required

Request body

suspensionMessagestring required

Reason for suspension. Leading/trailing whitespace is trimmed; must be non-empty once trimmed.

suspendFromstring date required

Calendar date (ISO 8601) from which the suspension takes effect. If it is today or in the past, the suspension is applied immediately; if it is a future day, the suspension is scheduled for that day.

Response

Opportunity suspended or suspension scheduled successfully

Changes