Databases

Start, stop or restart

post/databases/{databaseId}/actions/{action}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/databases/{databaseId}/actions/{action}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

databaseIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b
action'start' | 'stop' | 'restart' required

Response

Accepted

oktrue required

Changes

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