MongoDB · Schema

GroupUserResponse

Cloud DatabaseDatabaseDocument DatabaseNoSQLMongoDB

Properties

Name Type Description
id string Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.
orgMembershipStatus string String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.
roles array One or more project-level roles assigned to the MongoDB Cloud user.
username string Email address that represents the username of the MongoDB Cloud user.
View JSON Schema on GitHub

JSON Schema

mongodb-group-user-response-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-user-response-schema.json",
  "title": "GroupUserResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-mongodb-cloud-users-api-openapi.yml#/components/schemas/GroupUserResponse",
  "oneOf": [
    {
      "$ref": "#/$defs/GroupPendingUserResponse"
    },
    {
      "$ref": "#/$defs/GroupActiveUserResponse"
    }
  ],
  "properties": {
    "id": {
      "description": "Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.",
      "pattern": "^([a-f0-9]{24})$",
      "readOnly": true,
      "type": "string"
    },
    "orgMembershipStatus": {
      "description": "String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.",
      "enum": [
        "PENDING",
        "ACTIVE"
      ],
      "readOnly": true,
      "type": "string"
    },
    "roles": {
      "description": "One or more project-level roles assigned to the MongoDB Cloud user.",
      "items": {
        "type": "string"
      },
      "readOnly": true,
      "type": "array",
      "uniqueItems": true
    },
    "username": {
      "description": "Email address that represents the username of the MongoDB Cloud user.",
      "format": "email",
      "readOnly": true,
      "type": "string"
    }
  },
  "required": [
    "id",
    "orgMembershipStatus",
    "roles",
    "username"
  ],
  "type": "object",
  "$defs": {
    "GroupActiveUserResponse": {
      "allOf": [
        {
          "$ref": "#/$defs/GroupUserResponse"
        },
        {
          "properties": {
            "country": {
              "description": "Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format.",
              "pattern": "^([A-Z]{2})$",
              "readOnly": true,
              "type": "string"
            },
            "createdAt": {
              "description": "Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "firstName": {
              "description": "First or given name that belongs to the MongoDB Cloud user.",
              "readOnly": true,
              "type": "string"
            },
            "lastAuth": {
              "description": "Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "lastName": {
              "description": "Last name, family name, or surname that belongs to the MongoDB Cloud user.",
              "readOnly": true,
              "type": "string"
            },
            "mobileNumber": {
              "description": "Mobile phone number that belongs to the MongoDB Cloud user.",
              "pattern": "(?:(?:\\\\+?1\\\\s*(?:[.-]\\\\s*)?)?(?:(\\\\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\\\\s*)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\\\\s*(?:[.-]\\\\s*)?)([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\\\\s*(?:[.-]\\\\s*)?([0-9]{4})$",
              "readOnly": true,
              "type": "string"
            }
          },
          "type": "object"
        }
      ],
      "required": [
        "createdAt",
        "firstName",
        "id",
        "lastName",
        "orgMembershipStatus",
        "roles",
        "username"
      ],
      "type": "object"
    },
    "GroupPendingUserResponse": {
      "allOf": [
        {
          "$ref": "#/$defs/GroupUserResponse"
        },
        {
          "properties": {
            "invitationCreatedAt": {
              "description": "Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "invitationExpiresAt": {
              "description": "Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC.",
              "format": "date-time",
              "readOnly": true,
              "type": "string"
            },
            "inviterUsername": {
              "description": "Username of the MongoDB Cloud user who sent the invitation to join the organization.",
              "format": "email",
              "readOnly": true,
              "type": "string"
            }
          },
          "type": "object"
        }
      ],
      "required": [
        "id",
        "invitationCreatedAt",
        "invitationExpiresAt",
        "inviterUsername",
        "orgMembershipStatus",
        "roles",
        "username"
      ],
      "type": "object"
    },
    "GroupUserResponse": {
      "oneOf": [
        {
          "$ref": "#/$defs/GroupPendingUserResponse"
        },
        {
          "$ref": "#/$defs/GroupActiveUserResponse"
        }
      ],
      "properties": {
        "id": {
          "description": "Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user.",
          "pattern": "^([a-f0-9]{24})$",
          "readOnly": true,
          "type": "string"
        },
        "orgMembershipStatus": {
          "description": "String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization.",
          "enum": [
            "PENDING",
            "ACTIVE"
          ],
          "readOnly": true,
          "type": "string"
        },
        "roles": {
          "description": "One or more project-level roles assigned to the MongoDB Cloud user.",
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "type": "array",
          "uniqueItems": true
        },
        "username": {
          "description": "Email address that represents the username of the MongoDB Cloud user.",
          "format": "email",
          "readOnly": true,
          "type": "string"
        }
      },
      "required": [
        "id",
        "orgMembershipStatus",
        "roles",
        "username"
      ],
      "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-user-response"
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.