Add Host
http
POST /cranebase/services/{serviceId}/hosts
Lets the service’s users connect from another address. Every existing user is set up on the new host with the access it has now. 400 when the host is already there.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| hostname | string | Yes | IPv4 address, or % for any address |
| description | string | No | A note for yourself (max 255) |
Response (201)
json
{ "hostname": "203.0.113.10", "message": "Host added." }