Navigation

Disable Customer-Managed X.509

Clear customer-managed X.509 settings on a project, including the uploaded Certificate Authority, disabling Self-Managed X.509.

Important With Circle IconCreated with Sketch.Important
Disabling customer-managed X.509 triggers a rolling restart.
Info With Circle IconCreated with Sketch.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.

You must have the Atlas admin role to use this endpoint.

https://cloud.mongodb.com/api/atlas/v1.0

DELETE /groups/{GROUP-ID}/userSecurity/customerX509
ParameterTypeNecessityDescription
GROUP-IDstringRequiredIdentifier for the Atlas project associated with the X.509 configuration.

The following query parameters are optional:

Query ParameterTypeDescriptionDefault
prettybooleanDisplays response in a prettyprint format.false
envelopebooleanSpecifies whether or not to wrap the response in an envelope.false

This endpoint does not use HTTP request body parameters.

NameTypeDescription
ldapobjectLDAP configuration for an Atlas project. To learn more about LDAP configuration options, see Get Current LDAP Configuration.
customerX509objectCustomer-managed X.509 configuration for an Atlas project. Empty if the operation was successful.

The following example clears customer-managed X.509 settings on a project, including the uploaded Certificate Authority, disabling customer-managed X.509.

curl --request DELETE \
--user "{publicApiKey}:{privateApiKey}" \
--digest "https://cloud.mongodb.com/api/atlas/v1.0/groups/{groupId}/userSecurity/customerX509"

The following example shows the JSON document returned:

{
"customerX509" : {},
"ldap" : {
"authenticationEnabled" : false,
"authorizationEnabled" : false,
"userToDNMapping" : null
}
}
Give Feedback