Docs Home → MongoDB Command Line Interface
mongocli atlas security ldap verify status
The security ldap verify status
command retrieves the
status of the most recent verification request submitted
using the mongocli atlas security ldap verify command
or the Atlas API.
You can also retrieve the status of a verification request
using the Atlas API.
Note
Atlas returns a HTTP 404 error if you request the status of any request other than the most recent.
Syntax
mongocli atlas security ldap verify <request-ID> [ --output|-o <output-format> ] [ --profile|-P <name-of-profile> ] [ --projectId <id-of-project> ]
Note
Use -h
or --help
to view the command-line help for
this command.
Arguments
Argument | Type | Description | Required? |
---|---|---|---|
<request-ID> | string | Unique identifier of the most recent request to verify
the LDAP over TLS/SSL configuration. Run the
mongocli atlas security ldap verify command
for the request ID. | yes |
Options
Option | Type | Description | Required? |
---|---|---|---|
--output , -o | string | Command output format. Valid values are:
If omitted, the command returns output in the default format. | no |
--profile , -P | string | Name of the profile to use for accessing the Atlas
project. If omitted, uses the default profile. | no |
--projectId | string | Unique identifier of the project. If omitted, uses the project ID in the profile or environment variable. | yes |
Output
If the command succeeds, it returns the following output in the default format. If the command returns errors, see Troubleshooting for recommended solutions.
REQUEST ID PROJECT ID STATUS <verification-request-ID> <atlas-project-ID> <verification-status>
The default output contains a subset of the fields returned by this command. For the complete list of JSON fields returned by the command, see the API reference.
Example
The following example uses the mongocli atlas security ldap verify
status
command to retrieve the status of the most recent request for
verification of an LDAP over TLS configuration. The command uses the
default profile to access the Atlas project.