Endpoint Candidates
Lists the endpoints in your account that this application could use instead of a new one. free holds the ones you can attach now. not_free holds the others, each with the reason it can't be attached yet. Endpoints that already serve this app aren't listed, and neither are per-device endpoints.
An endpoint is free when it is a tunnel endpoint with no agent connected, doesn't serve an app, isn't paused over your plan's limits or suspended, and has no dedicated IP, no dedicated TCP or UDP port and no routing rules. Attaching a free endpoint doesn't add to your endpoint count.
Requires the caller's account to have Endpoints read permission and the plan's application hosting. In the dashboard: the app's Domains tab, Add endpoint → Use an existing endpoint (see Use an endpoint you already have).
Path parameters
Response (200 OK)
Both lists are always present ([] when empty), newest endpoint first.
uuid, hostname, created_at.reason (the first reason that applies), reasons (every reason that applies) and, for an endpoint that serves another app, application_uuid and application_name.Reasons
application_name. Detach it from that app first.Errors
application not found: no such app in the active account (another account's reads the same).