Domain purchases

Extend a registration.

Charges the workspace and pushes expiresAt out by years.

post/v1/domain-purchases/{id}/renew

Request

  • Base URL: https://api.domainee.dev
  • URL: https://api.domainee.dev/v1/domain-purchases/{id}/renew
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Any unique string. Retrying with the same key replays the first response instead of repeating the work.

Request body

yearsinteger required

Response

The purchase.

Example response

{
  "purchase": {
    "hostname": "acme.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.