You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/common/atlas/openapi.d.ts
+109-1Lines changed: 109 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,11 @@ export interface paths {
62
62
get: operations["getProject"];
63
63
put?: never;
64
64
post?: never;
65
-
delete?: never;
65
+
/**
66
+
* Remove One Project
67
+
* @description Removes the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. You can delete a project only if there are no Online Archives for the clusters in the project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.
68
+
*/
69
+
delete: operations["deleteProject"];
66
70
options?: never;
67
71
head?: never;
68
72
patch?: never;
@@ -232,6 +236,33 @@ export interface paths {
232
236
patch?: never;
233
237
trace?: never;
234
238
};
239
+
"/api/atlas/v2/orgs/{orgId}/groups": {
240
+
parameters: {
241
+
query?: never;
242
+
header?: never;
243
+
path?: never;
244
+
cookie?: never;
245
+
};
246
+
/**
247
+
* Return One or More Projects in One Organization
248
+
* @description Returns multiple projects in the specified organization. Each organization can have multiple projects. Use projects to:
249
+
*
250
+
* - Isolate different environments, such as development, test, or production environments, from each other.
251
+
* - Associate different MongoDB Cloud users or teams with different environments, or give different permission to MongoDB Cloud users in different environments.
252
+
* - Maintain separate cluster security configurations.
253
+
* - Create different alert settings.
254
+
*
255
+
* To use this resource, the requesting Service Account or API Key must have the Organization Member role.
/** @description Number of items that the response returns per page. */
4903
4934
itemsPerPage: number;
4935
+
/** @description Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](#tag/Organizations/operation/listOrganizations) endpoint to retrieve all organizations to which the authenticated user has access. */
4936
+
orgId: string;
4904
4937
/** @description Number of the page that displays the current set of the total objects that the response returns. */
4905
4938
pageNum: number;
4906
4939
/** @description Flag that indicates whether the response body should be in the prettyprint format. */
@@ -5147,6 +5180,7 @@ export type ParameterEnvelope = components['parameters']['envelope'];
/** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */
5330
+
envelope?: components["parameters"]["envelope"];
5331
+
/** @description Flag that indicates whether the response body should be in the prettyprint format. */
5332
+
pretty?: components["parameters"]["pretty"];
5333
+
};
5334
+
header?: never;
5335
+
path: {
5336
+
/** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access.
5337
+
*
5338
+
* **NOTE**: 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. */
5339
+
groupId: components["parameters"]["groupId"];
5340
+
};
5341
+
cookie?: never;
5342
+
};
5343
+
requestBody?: never;
5344
+
responses: {
5345
+
/** @description This endpoint does not return a response body. */
/** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */
5810
+
envelope?: components["parameters"]["envelope"];
5811
+
/** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */
/** @description Number of the page that displays the current set of the total objects that the response returns. */
5816
+
pageNum?: components["parameters"]["pageNum"];
5817
+
/** @description Flag that indicates whether the response body should be in the prettyprint format. */
5818
+
pretty?: components["parameters"]["pretty"];
5819
+
/** @description Human-readable label of the project to use to filter the returned list. Performs a case-insensitive search for a project within the organization which is prefixed by the specified name. */
5820
+
name?: string;
5821
+
};
5822
+
header?: never;
5823
+
path: {
5824
+
/** @description Unique 24-hexadecimal digit string that identifies the organization that contains your projects. Use the [/orgs](#tag/Organizations/operation/listOrganizations) endpoint to retrieve all organizations to which the authenticated user has access. */
0 commit comments