Hosts

Replace an organization host

Changed on

hostname is required. Omit secret to keep the stored credential; omit url to keep the stored URL, or send it as null to clear it; omit sizes to keep the stored sizes, or send {} to clear them.

put/api/v0beta1/hosts/{id}

Request

  • Base URL
    https://app.amika.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://app.amika.dev/api/v0beta1/hosts/{id}
  • Auth
    • HTTP bearer
    • or API key in cookie wos-session

Path parameters

idstring required

Request body

hostnamestring required
urlstring uri nullable
secretstring
sizesobject
transport_mode'listen' | 'tunnel'

Response

Updated host. The secret value is never returned.

idstring required
hostnamestring required
urlstring nullable required
org_idstring required
sizesobject required
transport_mode'listen' | 'tunnel' required

Changes

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • breaking

      added the pattern ^[\x21-\x7e]{32,}$ to the request property

    • info

      the request property's minLength was decreased from 1 to 0