Managed MongoDB®
string · enum · requiredstring · requiredstringstringinteger · uint32object
string · enum · requiredstring · required
Create a new Instance endpoint
POST
https://api.scaleway.com
/mongodb/v1/regions/{region}/endpoints
Create a new endpoint for a MongoDB® Database Instance. You can add public_network or private_network specifications to the body of the request.
path Parameters
regionThe region you want to target
Enum values:
fr-par
Create a new Instance endpoint › Request Body
instance_idUUID of the Database Instance.
object · required
EndpointSpec used to expose your Database Instance.
Create a new Instance endpoint › Responses
200
idUUID of the endpoint. (UUID format)
dns_recordList of DNS records of the endpoint.
portTCP port of the endpoint.
object
Private Network endpoint details.
public_networkPublic Network endpoint details.
Delete a Database Instance endpoint
DELETE
https://api.scaleway.com
/mongodb/v1/regions/{region}/endpoints/{endpoint_id}
Delete the endpoint of a Database Instance. You must specify the endpoint_id parameter of the endpoint you want to delete. Note that you might need to update any environment configurations that point to the deleted endpoint.
path Parameters
regionThe region you want to target
Enum values:
fr-par
endpoint_idUUID of the Endpoint to delete.
Delete a Database Instance endpoint › Responses
No data returned