Double column
curl
API
CLI

Projects /

Create project

Creates a new project.

Request attributes

  • object

    • name

      string required

      pattern: ^[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*$

      min length: 3

      max length: 28

    • description

      string required

      pattern: ^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$

      max length: 200

    • region

      string required

API
CLI

POST /v1beta/projects

Example request

request body

curl

curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"name":"New Project","description":"The project description","region":"europe-west"}' \
  https://api.northflank.com/v1beta/projects

Example response

200 OK

success

© 2020 Northflank Ltd. All rights reserved.

TermsPrivacy

contact@northflank.com