/api/integrations/agent-network/managed-proxyProvision a managed Agent Network gateway
Starts provisioning of a NetBird-managed Agent Network gateway for the account, allocating its endpoint under the managed zone on the first call. Idempotent — answers 202 when this call started (or, after a failure, restarted) provisioning and 200 when a deployment already exists, reporting current state either way. A disabled deployment answers 200 with state disabled and stays disabled. Returns 409 when the account already has an Agent Network endpoint that managed provisioning does not own, and 503 when endpoint allocation is temporarily exhausted.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
A 401 is returned: Requires authentication. A 403 is returned: Forbidden. A 409 is returned: The account already has an Agent Network endpoint not owned by managed provisioning. A 500 is returned: Internal Server Error. A 503 is returned: Endpoint allocation is temporarily exhausted; retry later.