MongoDB · Schema

GroupServiceAccount

Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB

Properties

Name Type Description
clientId string The Client ID of the Service Account.
createdAt string The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.
description string Human readable description for the Service Account.
name string Human-readable name for the Service Account.
roles array A list of Project roles associated with the Service Account.
secrets array A list of secrets associated with the specified Service Account.
View JSON Schema on GitHub

JSON Schema

mongodb-group-service-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-group-service-account-schema.json",
  "title": "GroupServiceAccount",
  "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/GroupServiceAccount",
  "properties": {
    "clientId": {
      "description": "The Client ID of the Service Account.",
      "pattern": "^mdb_sa_id_[a-fA-F\\d]{24}$",
      "type": "string"
    },
    "createdAt": {
      "description": "The date that the Service Account was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
      "format": "date-time",
      "type": "string"
    },
    "description": {
      "description": "Human readable description for the Service Account.",
      "type": "string"
    },
    "name": {
      "description": "Human-readable name for the Service Account.",
      "type": "string"
    },
    "roles": {
      "description": "A list of Project roles associated with the Service Account.",
      "items": {
        "type": "string"
      },
      "type": "array",
      "uniqueItems": true
    },
    "secrets": {
      "description": "A list of secrets associated with the specified Service Account.",
      "items": {
        "$ref": "#/$defs/ServiceAccountSecret"
      },
      "type": "array",
      "uniqueItems": true
    }
  },
  "type": "object",
  "$defs": {
    "ServiceAccountSecret": {
      "properties": {
        "createdAt": {
          "description": "The date that the secret was created on. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "expiresAt": {
          "description": "The date for the expiration of the secret. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "id": {
          "description": "Unique 24-hexadecimal digit string that identifies the secret.",
          "pattern": "^([a-f0-9]{24})$",
          "readOnly": true,
          "type": "string"
        },
        "lastUsedAt": {
          "description": "The last time the secret was used. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "maskedSecretValue": {
          "description": "The masked Service Account secret.",
          "readOnly": true,
          "type": "string"
        },
        "secret": {
          "description": "The secret for the Service Account. It will be returned only the first time after creation.",
          "readOnly": true,
          "type": "string"
        }
      },
      "required": [
        "createdAt",
        "expiresAt",
        "id"
      ],
      "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-group-service-account"
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.