Failover Backends
Create Failover Backend
Create a new Failover backend
Request
POST /backends/failover
Example Request
curl \
-X POST \
-H "Authorization: Bearer {API_KEY}" \
-H "Content-Type: application/json" \
-H "Ngrok-Version: 2" \
-d '{"backends":["bkdhr_2na2L3vpUB7bx7RUz92wzIj6Yul"],"description":"acme failover","metadata":"{\"environment\": \"staging\"}"}' \
https://api.ngrok.com/backends/failover
Parameters
Name | Type | Description |
---|---|---|
description | string | human-readable description of this backend. Optional |
metadata | string | arbitrary user-defined machine-readable data of this backend. Optional |
backends | List<string> | the ids of the child backends in order |
Response
Returns a 201 response on success