MongoDB logo
  • General Information
  • Documentation
  • Community Forums
  • Blog
  • University
  • Platform
    atlas_product_familyAtlasBuild and scale with an AI-ready platform
    Platform Services
    atlas_databaseDatabaseDeploy a multi-cloud databaseatlas_searchSearchDeliver engaging search experiencesmdb_vector_searchVector SearchDesign intelligent apps with gen AIatlas_stream_processingStream ProcessingIntegrate MongoDB and Kafka
    Self Managed
    enterprise_advanced_product familyEnterprise AdvancedRun and manage MongoDB yourselfcommunity_edition_product_familyCommunity EditionDevelop locally with MongoDB
    Tools
    mdb_compassCompassWork with MongoDB data in a GUIatlas_integrationIntegrationsIntegrations with third-party servicesmdb_migratorRelational MigratorMigrate to MongoDB with confidence
    View All ProductsExplore our full developer suitearrow-right
    MongoDB 8.0Our fastest version everarrow-right
    Build with MongoDB Atlas
    Get started for free in minutes
    Sign Up
    Test Enterprise Advanced
    Develop with MongoDB on-premises
    Download
    Try Community Edition
    Explore the latest version of MongoDB
    Download
  • general_action_readDocumentationLearn how to build with MongoDB and get started todaymisc_achievementSkills and CertificationsDevelop in-demand skills and earn MongoDB certificationsgeneral_content_ebookBooksRead books and e-books about MongoDB
    general_content_tutorialMongoDB for EducatorsTake advantage of educator resourcesgeneral_content_learnMongoDB for StudentsTake advantage of student benefitsgeneral_events_ask_the_expertsCommunityJoin a community of developersgeneral_events_sessionEvents and WebinarsFind an event or webinar near you
    Resources HubGet help building the next big thing with MongoDBarrow-right
  • Use cases
    Artificial IntelligenceModernizationPaymentsServerless DevelopmentGamingIntelligent SearchEdge and Mobile
    Industries
    Financial ServicesTelecommunicationsHealthcareRetailPublic SectorManufacturing
    Solutions LibraryOrganized and tailored solutions to kick-start projectsarrow-right
    MongoDB AMP
    Modernize applications up to 3x faster
    Learn morearrow-right
    Startups and AI Innovators
    For world-changing ideas and AI pioneers
    Learn morearrow-right
    Customer Case Studies
    Hear directly from our users
    See storiesarrow-right
  • CareersStart your next adventureBlogRead articles and announcementsNewsroomRead press releases and news stories
    PartnersLearn about our partner ecosystemLeadershipMeet our executive teamCompanyLearn more about who we are
    Contact Us
    Reach out to MongoDB
    Connect with an expertarrow-right
    Investors
    Visit our investor portal
    Learn morearrow-right
  • Pricing
SupportSign In
Get Started
MongoDB logo
MongoDB logo
  • General Information
  • Documentation
  • Community Forums
  • Blog
  • University
  • Platform
    atlas_product_familyAtlasBuild and scale with an AI-ready platform
    Platform Services
    atlas_databaseDatabaseDeploy a multi-cloud databaseatlas_searchSearchDeliver engaging search experiencesmdb_vector_searchVector SearchDesign intelligent apps with gen AIatlas_stream_processingStream ProcessingIntegrate MongoDB and Kafka
    Self Managed
    enterprise_advanced_product familyEnterprise AdvancedRun and manage MongoDB yourselfcommunity_edition_product_familyCommunity EditionDevelop locally with MongoDB
    Tools
    mdb_compassCompassWork with MongoDB data in a GUIatlas_integrationIntegrationsIntegrations with third-party servicesmdb_migratorRelational MigratorMigrate to MongoDB with confidence
    View All ProductsExplore our full developer suitearrow-right
    MongoDB 8.0Our fastest version everarrow-right
    Build with MongoDB Atlas
    Get started for free in minutes
    Sign Up
    Test Enterprise Advanced
    Develop with MongoDB on-premises
    Download
    Try Community Edition
    Explore the latest version of MongoDB
    Download
  • general_action_readDocumentationLearn how to build with MongoDB and get started todaymisc_achievementSkills and CertificationsDevelop in-demand skills and earn MongoDB certificationsgeneral_content_ebookBooksRead books and e-books about MongoDB
    general_content_tutorialMongoDB for EducatorsTake advantage of educator resourcesgeneral_content_learnMongoDB for StudentsTake advantage of student benefitsgeneral_events_ask_the_expertsCommunityJoin a community of developersgeneral_events_sessionEvents and WebinarsFind an event or webinar near you
    Resources HubGet help building the next big thing with MongoDBarrow-right
  • Use cases
    Artificial IntelligenceModernizationPaymentsServerless DevelopmentGamingIntelligent SearchEdge and Mobile
    Industries
    Financial ServicesTelecommunicationsHealthcareRetailPublic SectorManufacturing
    Solutions LibraryOrganized and tailored solutions to kick-start projectsarrow-right
    MongoDB AMP
    Modernize applications up to 3x faster
    Learn morearrow-right
    Startups and AI Innovators
    For world-changing ideas and AI pioneers
    Learn morearrow-right
    Customer Case Studies
    Hear directly from our users
    See storiesarrow-right
  • CareersStart your next adventureBlogRead articles and announcementsNewsroomRead press releases and news stories
    PartnersLearn about our partner ecosystemLeadershipMeet our executive teamCompanyLearn more about who we are
    Contact Us
    Reach out to MongoDB
    Connect with an expertarrow-right
    Investors
    Visit our investor portal
    Learn morearrow-right
  • Pricing
SupportSign In
Get Started
MongoDB logo
Show more

Use to navigate results, ENTER to select one, ESC to close

Type in any word to easily find the endpoint, property or group of operations you are looking for.

MongoDB REST APIs hub
  • Atlas Admin API v2
  • Atlas Agent Engine API
  • Atlas Embedding and Reranking API
  • (Deprecated) Atlas Admin API v1
  • (Deprecated) MongoDB Atlas Data API v1
  • MongoDB Atlas App Services Admin API 3.0
  • MongoDB Atlas Status API
  • MongoDB Relational Migrator REST API
Back to hub page
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Atlas Agent Engine API logo

Topics

  • Introduction
  • Authentication

Endpoints

  • Atlas
    • List Atlas organizations for the authenticated principal GET
    • List Atlas projects for the authenticated principal GET
    • Add an Atlas project IP access-list entry POST
    • List Atlas clusters in a project GET
    • Create an Atlas cluster in a project POST
    • Get an Atlas cluster in a project GET
    • Create an Atlas database user in a project POST
    • Update an Atlas database user in a project PATCH
    • Create an Atlas Voyage / AI model API key POST
  • Auth
    • Logout POST
    • Complete hosted platform OAuth callback GET
    • OIDC callback endpoint GET
    • Exchange one-time code for JWT tokens POST
    • Start OIDC login flow GET
    • Sign up with pending invitation POST
    • Start authentication flow GET
    • Login POST
    • Refresh token POST
  • Ecr
    • Mint ECR pull credentials for CLI images POST
  • Feature flags
    • Evaluate global feature flags GET
    • Evaluate global feature flags (public bootstrap) GET
  • Health
    • Health check GET
  • Oauth
    • Disconnect a delegated OAuth resource DELETE
    • Begin a delegated OAuth grant GET
    • Complete a delegated OAuth grant POST
    • Issue a service account access token POST
  • Organizations
    • List organizations GET
    • Create an organization POST
    • Get an organization GET
    • Update an organization PUT
    • Soft-delete an organization DELETE
    • List audit events GET
    • List organization invitations GET
    • Create an organization invitation POST
    • Revoke an organization invitation DELETE
    • Update an organization invitation PATCH
    • List organization members GET
    • Remove an organization member DELETE
    • Update an organization member's role PATCH
    • List organization platform policies GET
    • Create organization platform policy POST
    • Get organization platform policy GET
    • Update organization platform policy PUT
    • Delete organization platform policy DELETE
    • Preview an organization allowlist policy's blast radius POST
    • Get organization policy rollout status GET
    • List org service accounts GET
    • Create org service account POST
    • Get org service account GET
    • Deactivate org service account DELETE
    • Replace org service account roles PATCH
    • Replace org service account IP access list PUT
    • Rotate org service account secret POST
    • List all org service accounts GET
    • Get temporary support access status GET
    • Grant temporary support access POST
    • Revoke temporary support access DELETE
  • Orgs
    • List projects GET
    • Create a project POST
    • List project workspace secrets GET
  • Platform
    • Get Agent Engine egress IPs GET
    • Get platform egress NAT CIDRs (deprecated) GET
  • Projects
    • Get project by ID GET
    • Update a project PUT
    • Delete a project DELETE
    • Get agent runtime logs GET
    • Download raw agent runtime logs GET
    • Get the caller's Atlas project link GET
    • Link the caller's Atlas project for egress sync PUT
    • Remove the caller's Atlas project link DELETE
    • List builds GET
    • Get cost dashboard data GET
    • List deployments GET
    • Get deployment GET
    • List deployment events GET
    • Stream deployment events GET
    • Get observability events GET
    • Stream observability events GET
    • Get execution logs GET
    • List executions GET
    • Get execution status GET
    • Cancel an in-progress execution POST
    • Interrupt an in-flight tool or LLM call POST
    • Resume execution POST
    • Evaluate project feature flags GET
    • List guardrail policies GET
    • Create guardrail policy POST
    • Get guardrail policy GET
    • Update guardrail policy PUT
    • Disable guardrail policy DELETE
    • List project invitations GET
    • Create a project invitation POST
    • Revoke a project invitation DELETE
    • Update a project invitation PATCH
    • List API keys GET
    • Create API key (unsupported) POST
    • Revoke API key DELETE
    • MCP endpoint method not allowed (GET) GET
    • Invoke project memory MCP endpoint POST
    • MCP endpoint method not allowed (DELETE) DELETE
    • List project members GET
    • Remove a project member DELETE
    • Update a project member's role PATCH
    • Get project memory configuration GET
    • Set project memory configuration PUT
    • Sync project memory configuration POST
    • Build conversation context POST
    • Build conversation context from per-source specs POST
    • Get project memory runtime status GET
    • Provision project memory runtime POST
    • Restart the memory-server for a project POST
    • Search memory POST
    • Record a conversation turn POST
    • Get node executions GET
    • List platform policies GET
    • Create platform policy POST
    • Get platform policy GET
    • Update platform policy PUT
    • Delete platform policy DELETE
    • List effective platform policies for a project GET
    • List promotions for a project GET
    • List org secrets GET
    • Create or update org secret PUT
    • Delete project secret DELETE
    • Get project secret runtime readiness GET
    • Get org secrets status GET
    • Sync project secrets POST
    • List project service accounts GET
    • Create project service account POST
    • Get project service account GET
    • Deactivate project service account DELETE
    • Replace project service account roles PATCH
    • Replace project service account IP access list PUT
    • Rotate project service account secret POST
    • List sessions GET
    • Get session messages GET
    • Get a session's runs GET
    • Get project trace-export configuration GET
    • Set project trace-export configuration PUT
    • List trace-export vendor presets GET
    • Get traces GET
    • List workspace statuses GET
    • List workspaces GET
    • Create workspace POST
    • Get workspace GET
    • Delete workspace DELETE
    • Update workspace PATCH
    • List workspace builds GET
    • Trigger workspace build POST
    • Get build GET
    • Delete build DELETE
    • Cancel build POST
    • Get build logs GET
    • Start build POST
    • Initialize archive build POST
    • List workspace deployments GET
    • Create deployment POST
    • Cancel deployment POST
    • Get current deployment GET
    • List workspace deployment release versions GET
    • Get workspace health GET
    • Invoke workspace POST
    • Invoke workspace (streaming) POST
    • List promotions for a workspace GET
    • Promote a build into this workspace POST
    • Get a promotion GET
    • Rollback deployment POST
    • List runtime sessions GET
    • Stop a runtime session POST
    • List workspace secrets GET
    • Create or update workspace secret PUT
    • Delete workspace secret DELETE
    • Sync workspace secrets POST
    • Get temporary workspace support access status GET
    • Grant temporary workspace support access POST
    • Revoke temporary workspace support access DELETE
  • Users
    • Get current user GET
    • List my pending invitations GET
    • Accept an invitation POST
    • Decline an invitation POST
    • Set current user's last selected org PUT
    • Set current user's last selected project PUT
Powered by Bump.sh
MongoDB REST APIs hub
  • Atlas Admin API v2
  • Atlas Agent Engine API
  • Atlas Embedding and Reranking API
  • (Deprecated) Atlas Admin API v1
  • (Deprecated) MongoDB Atlas Data API v1
  • MongoDB Atlas App Services Admin API 3.0
  • MongoDB Atlas Status API
  • MongoDB Relational Migrator REST API
Back to hub page
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Atlas Agent Engine API logo

Remove the caller's Atlas project link

Ask AI
  • View as Markdown
  • Copy as Markdown
DELETE /api/v1/projects/{id}/atlas-link
Bearer auth

Clears the Atlas project link from a project. Requires the project-owner role.

Path parameters

  • id string Required

    Project ID

Responses

  • 406
    application/json
    application/json application/vnd.agent-engine-2026-09-20-preview+json

    Unsupported or malformed API version, an operation unavailable in the selected published contract, or an unacceptable representation (including unsupported media-type parameters or excluded SSE). Existing authentication, authorization, and rate-limit failures take precedence.

    Hide response attributes Show response attributes object
    • badRequestDetail object

      Optional validation details defined by the standard error schema; API negotiation errors do not emit this field.

      Hide badRequestDetail attribute Show badRequestDetail attribute object
      • fields array[object]

        Fields with validation failures.

        Hide fields attributes Show fields attributes object

        A field and its validation failure.

        • description string Required

          Human-readable validation failure.

        • field string Required

          Name or path of the invalid request field.

    • detail string Required

      Human-readable error details.

    • error integer Required

      HTTP status code.

    • errorCode string Required

      Machine-readable error code.

    • parameters array[string]

      Request parameter names associated with the error; omitted when none apply.

    • reason string Required

      HTTP status reason phrase.

    Hide response attributes Show response attributes object
    • badRequestDetail object

      Optional validation details defined by the standard error schema; API negotiation errors do not emit this field.

      Hide badRequestDetail attribute Show badRequestDetail attribute object
      • fields array[object]

        Fields with validation failures.

        Hide fields attributes Show fields attributes object

        A field and its validation failure.

        • description string Required

          Human-readable validation failure.

        • field string Required

          Name or path of the invalid request field.

    • detail string Required

      Human-readable error details.

    • error integer Required

      HTTP status code.

    • errorCode string Required

      Machine-readable error code.

    • parameters array[string]

      Request parameter names associated with the error; omitted when none apply.

    • reason string Required

      HTTP status reason phrase.

  • 200
    application/vnd.agent-engine-2026-09-20-preview+json
    application/vnd.agent-engine-2026-09-20-preview+json application/json

    OK

    Hide response attributes Show response attributes object
    • atlas_project object
      Hide atlas_project attributes Show atlas_project attributes object
      • environment string
      • project_id string
    • egress_sync object
      Hide egress_sync attributes Show egress_sync attributes object
      • cluster_count integer

        Number of clusters in the last successful stored snapshot. Zero means Atlas returned none (often paused or empty). Customer atlas-link responses include this count and omit cluster hosts/IPs.

      • clusters array[object]
        Hide clusters attributes Show clusters attributes object
        • hosts array[string]
        • name string
        • publicIpv4Addresses array[string]
        • type string
        • uniqueId string
      • clusters_differ boolean
      • last_success_at string
      • last_sync_at string
      • live_clusters array[object]
        Hide live_clusters attributes Show live_clusters attributes object
        • hosts array[string]
        • name string
        • publicIpv4Addresses array[string]
        • type string
        • uniqueId string
      • live_fetch_error string
      • sync_error string
      • sync_status string
    • name string
    • org_id string
    • project_id string
    Hide response attributes Show response attributes object
    • atlas_project object
      Hide atlas_project attributes Show atlas_project attributes object
      • environment string
      • project_id string
    • egress_sync object
      Hide egress_sync attributes Show egress_sync attributes object
      • cluster_count integer

        Number of clusters in the last successful stored snapshot. Zero means Atlas returned none (often paused or empty). Customer atlas-link responses include this count and omit cluster hosts/IPs.

      • clusters array[object]
        Hide clusters attributes Show clusters attributes object
        • hosts array[string]
        • name string
        • publicIpv4Addresses array[string]
        • type string
        • uniqueId string
      • clusters_differ boolean
      • last_success_at string
      • last_sync_at string
      • live_clusters array[object]
        Hide live_clusters attributes Show live_clusters attributes object
        • hosts array[string]
        • name string
        • publicIpv4Addresses array[string]
        • type string
        • uniqueId string
      • live_fetch_error string
      • sync_error string
      • sync_status string
    • name string
    • org_id string
    • project_id string
  • 400
    application/json
    application/json application/vnd.agent-engine-2026-09-20-preview+json

    Bad Request

    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
  • 403
    application/json
    application/json application/vnd.agent-engine-2026-09-20-preview+json

    Forbidden

    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
  • 404
    application/json
    application/json application/vnd.agent-engine-2026-09-20-preview+json

    Not Found

    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
  • 500
    application/json
    application/json application/vnd.agent-engine-2026-09-20-preview+json

    Internal Server Error

    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
    Hide response attributes Show response attributes object
    • code string
    • error string
    • success boolean
DELETE /api/v1/projects/{id}/atlas-link
curl \
 --request DELETE 'https://agentengine.mongodb.com/api/v1/projects/{id}/atlas-link' \
 --header "Authorization: $API_KEY"
Response examples (406)
Operation unavailable
  • Operation unavailable
  • Stream refused
  • Unsupported version
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
  "error": 406,
  "errorCode": "UNACCEPTABLE_MEDIA_TYPE",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
  "error": 406,
  "errorCode": "UNSUPPORTED_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
Response examples (406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
Response examples (200)
{
  "atlas_project": {
    "environment": "string",
    "project_id": "string"
  },
  "egress_sync": {
    "cluster_count": 42,
    "clusters": [
      {
        "hosts": [
          "string"
        ],
        "name": "string",
        "publicIpv4Addresses": [
          "string"
        ],
        "type": "string",
        "uniqueId": "string"
      }
    ],
    "clusters_differ": true,
    "last_success_at": "string",
    "last_sync_at": "string",
    "live_clusters": [
      {
        "hosts": [
          "string"
        ],
        "name": "string",
        "publicIpv4Addresses": [
          "string"
        ],
        "type": "string",
        "uniqueId": "string"
      }
    ],
    "live_fetch_error": "string",
    "sync_error": "string",
    "sync_status": "string"
  },
  "name": "string",
  "org_id": "string",
  "project_id": "string"
}
Response examples (200)
{
  "atlas_project": {
    "environment": "string",
    "project_id": "string"
  },
  "egress_sync": {
    "cluster_count": 42,
    "clusters": [
      {
        "hosts": [
          "string"
        ],
        "name": "string",
        "publicIpv4Addresses": [
          "string"
        ],
        "type": "string",
        "uniqueId": "string"
      }
    ],
    "clusters_differ": true,
    "last_success_at": "string",
    "last_sync_at": "string",
    "live_clusters": [
      {
        "hosts": [
          "string"
        ],
        "name": "string",
        "publicIpv4Addresses": [
          "string"
        ],
        "type": "string",
        "uniqueId": "string"
      }
    ],
    "live_fetch_error": "string",
    "sync_error": "string",
    "sync_status": "string"
  },
  "name": "string",
  "org_id": "string",
  "project_id": "string"
}
Response examples (400)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (400)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (403)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (403)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (404)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (404)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (500)
{
  "code": "string",
  "error": "string",
  "success": true
}
Response examples (500)
{
  "code": "string",
  "error": "string",
  "success": true
}
MongoDB logo
Language Selector Icon
  • English
  • Português
  • Español
  • 한국어
  • 日本語
  • 简体中文
© 2026 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal
  • Privacy Policy
  • GitHub
  • Security Information
  • Trust Center
  • Follow Us

Support

  • Contact Us
  • Customer Portal
  • Atlas Status
  • Product Updates
  • Customer Support
  • Manage Cookies
  • Your Privacy Choices

Deployment Options

  • MongoDB Atlas
  • Enterprise Advanced
  • Community Edition

Data Basics

  • Vector Databases
  • NoSQL Databases
  • Document Databases
  • RAG Database
  • ACID Transactions
  • MERN Stack
  • Agent Memory
  • MEAN Stack
© 2026 MongoDB, Inc.