Add a peer
POST
/config/peers
Persists a new peer and connects to it. ?force=true keeps the peer even if its handshake fails; it auto-retries lazily.
Authorizations
X-Management-Key
The JACK_MANAGEMENT_KEY the management listener was started with.
Type
API Key (header: X-Management-Key)
Request Body
application/json
JSON "name": "string", "url": "string", "apiKey": "string", "headers": { "additionalProperties": "string" }
{
}
Responses
Success
application/json
POST
/config/peers