This API is in preview. Breaking changes might be introduced before it is released. Don't use preview APIs in production.
Returns the description of one user-configurable, project-level limit, along with its default and maximum values.
Path parameters
-
Identifies the user-managed limit.
Values are
MONGODB_USERS,NUM_CLUSTERS,NUM_SERVERLESS_MTMS,NUM_USER_CUSTOM_ROLES,MAX_NETWORK_PERMISSION_ENTRIES,MAX_CROSS_REGION_NETWORK_PERMISSION_ENTRIES,MAX_NODES_PER_PRIVATELINK_REGION,BYTES_PROCESSED_QUERY,BYTES_PROCESSED_DAILY,BYTES_PROCESSED_WEEKLY,BYTES_PROCESSED_MONTHLY,NUM_PRIVATE_SERVICE_CONNECTIONS_PER_REGION_GROUP, orGCP_PSC_NAT_SUBNET_MASK.
Query parameters
-
Flag that indicates whether Application wraps the response in an
envelopeJSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.Default value is
false. -
Flag that indicates whether the response body should be in the prettyprint format.
Default value is
false.Prettyprint
atlas api limitDescription getDefaultGroupLimit --help
curl --include --header "Authorization: Bearer ${ACCESS_TOKEN}" \
--header "Accept: application/vnd.atlas.preview+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/defaultGroupLimits/{limitName}?pretty=true"
curl --user "${PUBLIC_KEY}:${PRIVATE_KEY}" \
--digest --include \
--header "Accept: application/vnd.atlas.preview+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/defaultGroupLimits/{limitName}?pretty=true"
# Headers
# Payload
{
"defaultLimit": 42,
"description": "string",
"maximumLimit": 42,
"name": "string"
}
{
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"error": 401,
"errorCode": "NOT_ORG_GROUP_CREATOR",
"reason": "Unauthorized"
}
{
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"error": 403,
"errorCode": "CANNOT_CHANGE_GROUP_NAME",
"reason": "Forbidden"
}
{
"detail": "(This is just an example, the exception may not be related to this endpoint) Cannot find resource AWS",
"error": 404,
"errorCode": "RESOURCE_NOT_FOUND",
"reason": "Not Found"
}
{
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"error": 429,
"errorCode": "RATE_LIMITED",
"reason": "Too Many Requests"
}
{
"detail": "(This is just an example, the exception may not be related to this endpoint)",
"error": 500,
"errorCode": "UNEXPECTED_ERROR",
"reason": "Internal Server Error"
}