페더레이션 설정 인스턴스 1개 삭제
연합 설정 인스턴스와 모든 관련 데이터(자격 증명 공급자 및 도메인 포함)를 삭제합니다. 이 리소스를 사용하려면, 요청하는 서비스 계정 또는 API 키에 마지막으로 남은 연결된 조직의 조직 소유자 역할이 있어야 합니다. 참고: 연합에 연결된 조직이 두 개 이상 있는 경우 이 리소스에 대한 요청이 실패합니다.
DELETE / API/ Atlas/v1.0/federationSettings/{federationSettingsId}
curl \
--request DELETE 'https://cloud.mongodb.com/api/atlas/v1.0/federationSettings/55fa922fb343282757d9554e' \
--header "Authorization: Bearer $ACCESS_TOKEN"
응답 예시(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"
}
응답 예시(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"
}
응답 예시(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"
}
응답 예시(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"
}
응답 예시(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"
}