diff --git a/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx b/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx index c5771e24532..c9698895e1a 100644 --- a/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx +++ b/apps/www/_blog/2022-08-15-launch-week-five-cli-v1-and-admin-api-beta.mdx @@ -107,15 +107,18 @@ Of course, the types aren’t very useful on its own, you need some way to consu The CLI is the first consumer of our new admin API. Over the next few weeks, we’ll be adding all the endpoints needed to programmatically add, remove, and update your Supabase projects. This is ideal for CI/CD workflows and spinning up test environments. -Here’s an example of how you can deploy a new project from the command line, you can generate your access tokens from [Supabase dashboard](https://app.supabase.com/account/tokens). +Here’s an example of how you can create a new project from the command line, you can generate your access tokens from [Supabase dashboard](https://app.supabase.com/account/tokens). ```bash curl 'https://api.supabase.com/v1/projects' \ -H 'Authorization: Bearer <[your-access-token](https://app.supabase.com/account/tokens)>' \ -H "Content-Type: application/json" \ -d '{"name": "my-project", "organization_id": "cool-green-pqdr0qc", "region": "us-east-1", "plan": "free", "db_pass": "********"}' +``` -# Response JSON: +The response JSON should have the same fields as the example below: + +```json { "id": "abcdefghijklmnopqrst", "organization_id": "cool-green-pqdr0qc",