MongoDB/pinGroupClusterCollStatPinnedNamespaces

Online calls unavailable · details below

MongoDBMongoDB Atlas Administration API v2

PUT/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/collStats/pinned

Manage pin Group Cluster Coll Stat Pinned Namespaces.

Contract-preserving PUT endpoint for pin Group Cluster Coll Stat Pinned Namespaces in the MongoDB Atlas Administration API. Resource-specific values are supplied by the caller at runtime.

All 540 MongoDB Atlas administration endpoints from a fixed Apache-2.0 OpenAPI revision. Hub provides documentation and an independent SDK/CLI, but never proxies account, organization, project, network, backup, or operational data; callers connect directly with local credentials.

Request

operationId
pinGroupClusterCollStatPinnedNamespaces
Server
https://cloud.mongodb.com
Authentication
ServiceAccounts, DigestAuth

Request parameters

groupId

pathstringrequired

group Id value in the Atlas Administration API contract.

32b6e34b3d91647abb20e7b8

envelope

queryboolean

envelope value in the Atlas Administration API contract.

clusterName

pathstringrequired

cluster Name value in the Atlas Administration API contract.

Request body

NamespacesRequestrequired

Content-Type: application/vnd.atlas.2023-11-15+json

Properties: namespaces

Responses

200

PinnedNamespacesapplication/vnd.atlas.2023-11-15+json

Successful supplier response.

Properties: clusterIdgroupIdpinnedNamespaces

201

PinnedNamespacesapplication/vnd.atlas.2023-11-15+json

Successful supplier response.

Properties: clusterIdgroupIdpinnedNamespaces

400

ApiErrorapplication/json

Supplier response with HTTP status 400.

Properties: badRequestDetaildetailerrorerrorCodeparametersreason

401

ApiErrorapplication/json

Supplier response with HTTP status 401.

Properties: badRequestDetaildetailerrorerrorCodeparametersreason

403

ApiErrorapplication/json

Supplier response with HTTP status 403.

Properties: badRequestDetaildetailerrorerrorCodeparametersreason

404

ApiErrorapplication/json

Supplier response with HTTP status 404.

Properties: badRequestDetaildetailerrorerrorCodeparametersreason

429

ApiErrorapplication/json

Supplier response with HTTP status 429.

Properties: badRequestDetaildetailerrorerrorCodeparametersreason

500

ApiErrorapplication/json

Supplier response with HTTP status 500.

Properties: badRequestDetaildetailerrorerrorCodeparametersreason

{
  "clusterId": "32b6e34b3d91647abb20e7b8",
  "groupId": "32b6e34b3d91647abb20e7b8",
  "pinnedNamespaces": []
}