MongoDB.Atlas (preview:2024-11-18)

2025/07/01 • 1 updated methods

Organizations_Update (updated)
Description Update a OrganizationResource
Reference Link ¶

⚶ Changes

{
  "#id": "Organizations_Update",
  "$parameters": {
    "properties": {
      "Description": {
        "new": "The type used for update operations of the OrganizationResource.",
        "old": "The resource model definition for an Azure Organization"
      },
      "$properties": {
        "@added_19ec85567b5b4a1486c2c7a7408e50f3": {
          "#name": "tags",
          "Description": "Resource tags.",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MongoDB.Atlas/organizations/{organizationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
properties:
{
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
properties:
{
user:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
companyName: string ,
}
,
partnerProperties:
{
organizationId: string ,
redirectUrl: string ,
organizationName: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplace:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
user:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
companyName: string ,
}
,
provisioningState: enum ,
partnerProperties:
{
organizationId: string ,
redirectUrl: string ,
organizationName: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}