attach_carrier_subscriber_host
Assign or change the gateway host linked to a carrier subscriber, validating the host belongs to the same ISP organization and requiring confirmation before applying.
Instructions
Attach or re-link a subscriber's gateway host (PUT .../subscribers/{id}/host). Guarded.
Not testable against the maintainer's live hardware; hermetic/spec-conformance tested only. host_id must be a host in the same ISP organization. Guarded: read-before, no-op when already linked, confirm=true, write kill-switch, read-after (reports prev_host_id).
subscriber_id: the subscriber UUID from list_carrier_subscribers. host_id: the gateway host id to link. confirm: must be true to apply the change. key_label: optional configured API-key label to route on a specific key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| host_id | Yes | ||
| key_label | No | ||
| subscriber_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||