API referencePower
Update an existing Power configuration
Update the origin and/or config. Omitting application_url keeps the current origin (unlike enable, which requires it).
AuthorizationBearer <token>
Short-lived widget JWT minted server-side via POST /v1/tokens. Scoped to one application (and optionally one domain).
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/connections/string/power:repower" \ -H "Content-Type: application/json" \ -d '{}'{ "power": { "connection_id": "string", "domain": "string", "origin": "string", "powered": true, "www_redirect": true, "redirect_to": "string", "root_path_access": [ "string" ] }}{ "code": "string", "title": "string", "details": "string"}{ "code": "string", "title": "string", "details": "string"}{ "code": "string", "title": "string", "details": "string"}{ "code": "string", "title": "string", "details": "string"}