Control
post/v1/control/applications/{application_id}/domains

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/control/applications/{application_id}/domains
  • Auth: one of:
    • HTTP bearer
    • API key in cookie p93_control_access

Request body

hostnamestring required

Response

Domain added and DNS proof returned once

idstring uuid required
hostnamestring hostname required
status'pending' | 'verified' | 'disabled' required
created_atstring date-time

Changes

    • breaking

      added the new required request property

    • info

      the endpoint scheme security controlBearer was added to the API

    • info

      the endpoint scheme security controlCookie was added to the API

    • info

      the endpoint scheme security operatorBearer was removed from the API

    • info

      the endpoint scheme security operatorCookie was removed from the API

    • info

      added the media type application/json for the response with the status