Create a new project
POST /api/v2/organizations/{organization}/projects
POST
/api/v2/organizations/{organization}/projects
Authorizations
Parameters
Path Parameters
organization
required
string
Request Body required
object
name
Project name
string
Test Project machine_name
Project machine name
string
test-project region
Project region
string
au allow_query_params
Allow query parameters
boolean
true disable_revisions
Disable revisions
boolean
basic_auth_username
Basic auth username
string
admin basic_auth_password
Basic auth password
string
secure_password123 basic_auth_preview_only
Apply basic auth to preview domain only
boolean
trueResponses
201
The request has succeeded and a new resource has been created as a result.
object
id
required
Project ID
integer
123 uuid
required
Project UUID
string
550e8400-e29b-41d4-a716-446655440000 name
required
Project name
string
Test Project machine_name
required
Project machine name
string
test-project write_token
Write token for API access
string
abc123token400
The server could not understand the request due to invalid syntax.
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true403
Access is forbidden.
object
message
required
Error message
string
The requested resource was not found error
required
Error flag
boolean
true