The CLI and the console are both clients of the same REST API. When an endpoint has no command of its own — because it is new, or too specialised to deserve one — uncloud api reaches it with the credentials you already have.
The method is case-insensitive and the leading / on the path is optional. Authentication, the project header, error formatting, and -json all behave exactly as they do for every other command.

Bodies

Bodies are built the same way as create and update — see building a request body. Values are type-coerced, dotted keys nest, and a whole body can come from a file or stdin:

Endpoints

Every route under /api/v1 is reachable. The main groups: Health is GET /health and needs no token. Ids are prefixed by type: app_, dpl_, db_, vol_, proj_, key_, tok_. Full request and response schemas are in the API Reference.

Scripting

-json makes any call machine-readable:
uncloud api sends exactly what you ask, including DELETE. Unlike uncloud <resource> delete, it does not prompt for confirmation — the raw layer assumes you meant it.

Talking to another control plane

Point at a different API for one command without touching your saved config: