POST /projects/{project_id}/domains/{domain}/renewals
Renew now
Administrator SESSION route (console). Served only when the service is open to the account (404 not_found otherwise). Non-administrator member: 403. Paid from the balance.
Console session only (signed-in console).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_id | path | string · required | project identifier |
domain | path | string · required | domain name |
Idempotency-Key | header | string · required |
Request body
application/json
| Field | Type | Description |
|---|---|---|
quote_id | string · required |
Responses
| Status | Description | Body |
|---|---|---|
202 | Renewal submitted | object |
402 | Insufficient balance | Error |
409 | Already in progress or quote expired | Error |
422 | Named refusal | Error |
401 | Key missing or invalid | Error |
Examples
curl
curl -X POST "$GALON_API_BASE/projects/<project_id>/domains/<domain>/renewals" \
-H "Authorization: Bearer $GALON_API_KEY" \
-H "Idempotency-Key: <unique-key>" \
-H "Content-Type: application/json" \
-d '{"quote_id": "string"}'