CLI reference — Plan Features
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.
5 operations in this area.
adminCreatePlanFeature
Section titled “adminCreatePlanFeature”Create a plan_feature catalogue row (platform_admin)
CLI (preferred):
nayaone-admin api adminCreatePlanFeature --body '{}'REST fallback: POST /admin-api/plan-features
adminDeletePlanFeature
Section titled “adminDeletePlanFeature”Delete a plan_feature catalogue row (platform_admin)
CLI (preferred):
nayaone-admin api adminDeletePlanFeature --param slug=<slug> --body '{}'REST fallback: DELETE /admin-api/plan-features/{slug}
adminGetPlanFeature
Section titled “adminGetPlanFeature”Get one plan_feature by slug (platform_admin)
CLI (preferred):
nayaone-admin api adminGetPlanFeature --param slug=<slug>REST fallback: GET /admin-api/plan-features/{slug}
adminListPlanFeatures
Section titled “adminListPlanFeatures”List all plan_feature catalogue rows (platform_admin)
CLI (preferred):
nayaone-admin api adminListPlanFeaturesREST fallback: GET /admin-api/plan-features
adminPatchPlanFeature
Section titled “adminPatchPlanFeature”Patch a plan_feature catalogue row (platform_admin)
CLI (preferred):
nayaone-admin api adminPatchPlanFeature --param slug=<slug> --body '{}'REST fallback: PATCH /admin-api/plan-features/{slug}