Elimina la instancia de configuración de la federación y todos los datos asociados, incluidos los proveedores de identidad y los dominios. Para usar este recurso, la cuenta de servicio o la clave API solicitante debe tener el rol de propietario de la organización en la última organización conectada restante. Nota: Las solicitudes a este recurso fallarán si hay más de una organización conectada en la federación.
ELIMINAR /api/atlas/v1.0/federationSettings/{federationSettingsId}
curl \
--request DELETE 'https://cloud.mongodb.com/api/atlas/v1.0/federationSettings/55fa922fb343282757d9554e' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Ejemplos de respuestas (400)
{
"error": 400,
"detail": "(This is just an example, the exception may not be related to this endpoint) No provider AWS exists.",
"reason": "Bad Request",
"errorCode": "VALIDATION_ERROR"
}
Ejemplos de respuestas (401)
{
"error": 401,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Unauthorized",
"errorCode": "NOT_ORG_GROUP_CREATOR"
}
Ejemplos de respuestas (403)
{
"error": 403,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Forbidden",
"errorCode": "CANNOT_CHANGE_GROUP_NAME"
}
Ejemplos de respuestas (404)
{
"error": 404,
"detail": "(This is just an example, the exception may not be related to this endpoint) Cannot find resource AWS",
"reason": "Not Found",
"errorCode": "RESOURCE_NOT_FOUND"
}
Ejemplos de respuestas (500)
{
"error": 500,
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"reason": "Internal Server Error",
"errorCode": "UNEXPECTED_ERROR"
}