Admin vs. Project APIs (endpoints, examples) 🧭
Use Admin endpoints for account-wide tasks and Project endpoints for scoped resources.
Insert screenshot of API Reference → Endpoints here
Endpoint patterns
Scope
Path pattern
Examples
Admin
/admin/...
users, billing profiles, global quotas
Project
/projects/{project_id}/...
instances, volumes, networks, k8s
Examples ▶️
List projects (Admin)
curl -H "Authorization: Bearer $NEON_TOKEN" \
https://api.neoncloud.com/v1/admin/projects
Create an instance (Project)
curl -X POST -H "Authorization: Bearer $NEON_TOKEN" -H "Content-Type: application/json" \
https://api.neoncloud.com/v1/projects/$PROJECT_ID/instances \
-d '{
"name": "web-01",
"image": "ubuntu-22-04",
"size": "c2m4",
"network_id": "<vpc-or-subnet-id>",
"ssh_key_id": "<key-id>"
}'
Check quota (Project)
curl -H "Authorization: Bearer $NEON_TOKEN" \
https://api.neoncloud.com/v1/projects/$PROJECT_ID/quotas
Last updated
Was this helpful?