Websites

Updates an existing website configuration.

Modifies domain, target CID, DNS hosting, or other settings for a website. Only fields included in the request body will be updated; omitted fields remain unchanged. Changes take effect after validation and DNS propagation.

See also:.*

put/api/websites/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/websites/{id}
  • Auth: none declared

Path parameters

idstring required

Website ID

Request body

dns_hosting_enabledboolean
domainstring
namespacestring
target_hashstring
target_typestring

Response

Website updated

active_cidstring
createdstring date-time required
dns_hosting_enabledboolean required
domainstring required
expiredboolean required
gateway_domainstring
idinteger required
ipns_key_idinteger
is_subdomainboolean required
last_checked_atstring date-time
statusstring required
target_hashstring required
target_typestring required
updatedstring date-time required
validation_expires_atstring date-time
validation_record_hoststring
validation_tokenstring required
zone_idinteger

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      added the new failed enum value to the / response property for the response status

    • warning

      added the new issuing enum value to the / response property for the response status

    • warning

      added the new pending enum value to the / response property for the response status

    • warning

      added the new ready enum value to the / response property for the response status

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • breaking

      the response's property type changed from string to object for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status