extend offer expiry date
POST https://api.suger.cloud/org/{orgId}/offer/{offerId}/extendExpiryDate
Only the offer with status = "PENDING_ACCEPTANCE", "EXPIRED" or "ACCEPTED" is allowed to extend expiry date.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
offerId | path | string | yes | Offer ID |
newExpiryDate | query | string | yes | new expiry date in YYYY-MM-DD format |
Responses
200 — OK
Content-Type: application/json · Schema: WorkloadOffer
400 — Bad request error
Content-Type: application/json
404 — Not found
Content-Type: application/json
500 — Internal error
Content-Type: application/json