secrets/mongodbatlas: adds missing organization_id to API docs (#15624)

This commit is contained in:
Austin Gebauer 2022-05-26 08:08:29 -07:00 committed by GitHub
parent fd215fd6fe
commit 4d9f3431b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -57,7 +57,14 @@ either the MongoDB Atlas Organization or Project level with the designated role(
### Parameters ### Parameters
- `name` `(string <required>)` - Unique identifier name of the role name - `name` `(string <required>)` - Unique identifier name of the role name
- `project_id` `(string <required>)` - Unique identifier for the organization to which the target API Key belongs. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access. - `organization_id` `(string <required>)` - Unique identifier for the organization to which
the target API Key belongs. Use the [orgs endpoint](https://www.mongodb.com/docs/atlas/reference/api/organization-get-all/)
to retrieve all organizations to which the authenticated user has access. Required if
`project_id` is not set.
- `project_id` `(string <required>)` - Unique identifier for the project to which the target
API Key belongs. Use the [projects endpoint](https://www.mongodb.com/docs/atlas/reference/api/project-get-all/)
to retrieve all organizations to which the authenticated user has access. Required if
`organization_id` is not set.
- `roles` `(list [string] <required>)` - List of roles that the API Key needs to have. If the roles array is provided: - `roles` `(list [string] <required>)` - List of roles that the API Key needs to have. If the roles array is provided:
-> **IMPORTANT:** Provide at least one role. Make sure all roles must be valid for the Organization or Project. -> **IMPORTANT:** Provide at least one role. Make sure all roles must be valid for the Organization or Project.