Storage

A new connection string (the old token stops working within 5 seconds); update EDGE_CONFIG / GLOBAL_CONFIG

post/global-configs/{configId}/rotate

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/global-configs/{configId}/rotate
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

configIdstring required
Example:ecfg_hs0a1b2c3d4e5f6g7h8i9j0k1

Response

The new connection string

idstring required
organizationIdstring uuid required
projectIdstring uuid nullable required
legacyIdstring nullable required
itemCountinteger required
sizeBytesinteger required
digeststring required
createdAtstring required

ISO-8601 timestamp

updatedAtstring required

ISO-8601 timestamp

connectionStringstring required

EDGE_CONFIG / GLOBAL_CONFIG for the app (holds a read token): shown only in this response

Changes

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