MongoDBMongoDB Atlas 管理 API v2
PATCH/api/atlas/v2/orgs/{orgId}/sandboxConfig/{sandboxConfigId}
管理update Org Sandbox Config。
MongoDB Atlas Administration API 中用于 update Org Sandbox Config 的保留合约 PATCH Endpoint。资源相关值由调用方在运行时提供。
覆盖固定 Apache-2.0 OpenAPI revision 中全部 540 个 MongoDB Atlas 管理 Endpoint。Hub 提供文档与独立 SDK/CLI,但不代理账户、组织、项目、网络、备份或运行数据;调用方通过本地凭证直连。
请求
- operationId
updateOrgSandboxConfig- 服务器
https://cloud.mongodb.com- 认证
- ServiceAccounts, DigestAuth
请求参数
envelope
queryboolean
Atlas Administration API 合约中的 envelope 值。
pretty
queryboolean
Atlas Administration API 合约中的 pretty 值。
orgId
pathstring必填
Atlas Administration API 合约中的 org Id 值。
4888442a3354817a7320eb61
sandboxConfigId
pathstring必填
Atlas Administration API 合约中的 sandbox Config Id 值。
507f1f77bcf86cd799439011
Body 参数
Content-Type: application/vnd.atlas.preview+json
字段: clusterTemplateenabled
响应
200
SandboxConfigResponseapplication/vnd.atlas.preview+json
供应商成功响应。
字段: clusterTemplateenabledid
400
ApiErrorapplication/json
供应商返回 HTTP 状态 400。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
401
ApiErrorapplication/json
供应商返回 HTTP 状态 401。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
403
ApiErrorapplication/json
供应商返回 HTTP 状态 403。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
404
ApiErrorapplication/json
供应商返回 HTTP 状态 404。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
500
ApiErrorapplication/json
供应商返回 HTTP 状态 500。
字段: badRequestDetaildetailerrorerrorCodeparametersreason
{
"clusterTemplate": {
"provider": "AWS",
"region": "US_EAST_1",
"tier": "M0"
},
"enabled": false,
"id": "32b6e34b3d91647abb20e7b8"
}