ports

Switch auto-renew on or off

Off means the port ends at the end of its term. Requires an Idempotency-Key header (CONTRACT §1): the same key with the same body within 24 h replays the stored response; a different body returns 409 idempotency_conflict.

put/v1/ports/{id}/auto-renew

Request

  • Base URL: https://api.portproof.org
  • URL: https://api.portproof.org/v1/ports/{id}/auto-renew
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

enabledboolean required

Response

Default Response

idstring required
org_idstring required
port_idstring required
skustring required
term'monthly' | 'weekly' | 'daily' required
price_centsinteger required
currency'EUR' | 'USD' required
starts_atstring date-time required
ends_atstring date-time required
auto_renewboolean required
state'active' | 'grace' | 'suspended' | 'ended' required
provider_refstring nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

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