Switch MongoDB between standalone and replica set
Configuration
Switch MongoDB between standalone and replica set
Switches a MongoDB database between standalone mode and single-node replica set mode. Team permission: operate or manage.
PATCH
Switch MongoDB between standalone and replica set
Authorizations
Send your API token as Authorization: Bearer <api-token>.
Path Parameters
The database's _id.
24-character hexadecimal ID.
Pattern:
^[0-9a-fA-F]{24}$Query Parameters
Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.
Pattern:
^[0-9a-fA-F]{24}$Response
The mode was switched.
