- API >
- API Resources >
- Projects
Create a Project¶
Groups and projects are synonymous terms. Your {GROUP-ID}
is the
same as your project ID. For existing groups, your group/project ID
remains the same. The resource and corresponding endpoints use the
term groups
.
The Atlas API authenticates using HTTP Digest Authentication. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request.
To learn how to configure API access for an Atlas project, see Configure Atlas API Access.
https://cloud.mongodb.com/api/atlas/v1.0
Syntax¶
POST /api/atlas/v1.0/groups
Request Body Parameters¶
Name | Type | Description |
---|---|---|
name | string | Name of the project to create. |
orgId | string | Unique identifier of the organization within which to create the project. This field is required when using API Key credentials. Important To create a project using
API Key credentials, you must
specify an |
Request Query Parameters¶
Field | Required/Optional | Description |
---|---|---|
envelope | Optional. | A boolean that specifies whether or not to wrap the response in an envelope. Defaults to |
pretty | Optional. | A boolean that specifies whether or not to return a "pretty-printed" JSON document. Defaults to |
HTTP Response Elements¶
Name | Description |
---|---|
clusterCount | The number of Atlas clusters deployed in the project. |
created | The ISO-8601-formatted timestamp of when Atlas created the project. |
id | The unique identifier of the project. You can use this value
for populating the {GROUP-ID} parameter of other
Atlas API endpoints. |
links | One or more links to sub-resources and/or related resources. The relation-types between URL |