Power

Set or clear the application-wide default origin

Send default_origin: "" to clear it. The value is validated by the same guard a per-connection origin gets, and the edge re-validates the RESOLVED address at dial time: a hostname that passes here and is later repointed at a private address is refused when the edge connects.

put/applications/{id}/power:default

Request

  • Base URL: https://api.customdomain.ai/v1
  • URL: https://api.customdomain.ai/v1/applications/{id}/power:default
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

Request body

default_originstring required

Absolute http(s) URL, or "" to clear.

Example request

{
  "default_origin": "https://app.yourcompany.com"
}

Response

The stored default

application_idstring
default_originstring

Absent when no default is set.

configuredboolean

Whether a default is set. Distinguishes "no default" from an empty value.

Changes

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