MongoDB · Schema

OrgServiceAccountRequest

Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request.

Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB

Properties

Name Type Description
description string Human readable description for the Service Account.
name string Human-readable name for the Service Account. The name is modifiable and does not have to be unique.
roles array A list of organization-level roles for the Service Account.
secretExpiresAfterHours integer The expiration time of the new Service Account secret, provided in hours. The minimum and maximum allowed expiration times are subject to change and are controlled by the organization's settings.
View JSON Schema on GitHub

JSON Schema

mongodb-org-service-account-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-org-service-account-request-schema.json",
  "title": "OrgServiceAccountRequest",
  "description": "Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-service-accounts-api-openapi.yml#/components/schemas/OrgServiceAccountRequest",
  "properties": {
    "description": {
      "description": "Human readable description for the Service Account.",
      "maxLength": 250,
      "minLength": 1,
      "pattern": "^[\\p{L}\\p{N}\\-_.,' ]*$",
      "type": "string"
    },
    "name": {
      "description": "Human-readable name for the Service Account. The name is modifiable and does not have to be unique.",
      "maxLength": 64,
      "minLength": 1,
      "pattern": "^[\\p{L}\\p{N}\\-_.,' ]*$",
      "type": "string"
    },
    "roles": {
      "description": "A list of organization-level roles for the Service Account.",
      "items": {
        "description": "Organization roles available for Service Accounts.",
        "enum": [
          "ORG_MEMBER",
          "ORG_READ_ONLY",
          "ORG_BILLING_ADMIN",
          "ORG_BILLING_READ_ONLY",
          "ORG_STREAM_PROCESSING_ADMIN",
          "ORG_GROUP_CREATOR",
          "ORG_OWNER"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "secretExpiresAfterHours": {
      "description": "The expiration time of the new Service Account secret, provided in hours. The minimum and maximum allowed expiration times are subject to change and are controlled by the organization's settings.",
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "description",
    "name",
    "roles",
    "secretExpiresAfterHours"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mongodb-org-service-account-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.