Environments
Create
Create new environment in a project.
Create new environment in a project.
Path Parameters
project_identifier*string
The name or the ID of the project.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/projects/string/environments/" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": "ev_a2kKcBluEENNfFKtXzrHBS",
"name": "api-dev",
"created_at": "2024-05-05T10:00:00Z",
"updated_at": "2024-05-05T10:00:00Z",
"description": null,
"is_production": false,
"secret_count": 0
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}