CLI reference — Cloud Instance Types
Generated by
bun run generate:cli-referencefromspec/admin-api-openapi.json. Do not hand-edit — regenerate after refreshing the spec.
Every operation below is documented CLI-first (nayaone-admin api <operationId>)
per PRD-407/DO-7.
The REST /admin-api/* method+path is the fallback/alternative integration option.
3 operations in this area.
adminDeleteCloudInstanceTypes
Section titled “adminDeleteCloudInstanceTypes”Delete cloud instance-type rows by filter (platform-admin only)
CLI (preferred):
nayaone-admin api adminDeleteCloudInstanceTypes --body '{}'REST fallback: DELETE /admin-api/cloud-instance-types
adminUpsertCloudInstanceTypes
Section titled “adminUpsertCloudInstanceTypes”Batch-upsert cloud instance-type rows (platform-admin only)
CLI (preferred):
nayaone-admin api adminUpsertCloudInstanceTypes --body '{}'REST fallback: POST /admin-api/cloud-instance-types/upsert
getCloudInstanceType
Section titled “getCloudInstanceType”Get one cloud instance-type catalog row by ULID id
CLI (preferred):
nayaone-admin api getCloudInstanceType --param id=<id>REST fallback: GET /admin-api/cloud-instance-types/{id}