Neon.Postgres (preview:2025-03-01)

2025/09/10 • 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": "Organization Resource by Neon"
      },
      "$properties": {
        "@added_53ec0e31009641788ffe4b5303dcfe8a": {
          "#name": "tags",
          "Description": "Resource tags.",
          "Required": false,
          "Type": "object"
        }
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
properties:
{
tags: object ,
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityName: string ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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