Create Environment
POST/api/v1/environments
Create a new Environment in a Project. Include project, name, and oauthEnabled in the request body, plus platform connection settings for Snowflake or Databricks. This operation configures connection settings only. Add warehouse passwords or OAuth refresh tokens in the Coalesce App under Build Settings > Environments > User Credentials after creation.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
- 502
- 503
- 504
Information about an environment.
The request was invalid.
User lacks authorization to perform this action.
The client is not permitted to perform the requested operation.
The requested resource could not be found.
The server encountered an unexpected condition that prevented it from fulfilling the request.
The server received an error from an upstream system.
The service is currently unavailable.
The server did not receive a response in time from an upstream system.