Detach an Endpoint
Stops serving the application on one of its endpoints. The endpoint goes back to being a tunnel endpoint of your account, with its hostname and settings, and shows Offline until an agent connects to it. Nothing is deleted: to remove the endpoint for good, delete it instead.
If it was the app's primary, the app's oldest remaining endpoint becomes the primary. If it was the app's only endpoint, the app has no public URL until you attach or create another. Detaching an endpoint from a WordPress app restarts the site so it picks up its address.
Requires the caller's account to have Endpoints write permission and the plan's application hosting. In the dashboard: the endpoint's menu on the app's Domains tab, Detach from app. From a terminal, ngris api applications detach-endpoint is a destructive command: as one command or in a script it needs --yes.
Path parameters
endpoints in GET /v1/applications/{uuid}.Response
Errors
integer_id_unsupported): use its uuid.application not found, or Endpoint not found: the endpoint isn't one of this app's endpoints.quota_paused: the app is paused over your plan's limits and is read-only until the account has room again.