| Description | : Update a OrganizationResource |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "Organizations_Update",
"$parameters": {
"properties": {
"$properties": {
"properties": [
{
"@added_76e4dd94b6814c3ca981a9cf266f3e7f": {
"#name": "marketplaceDetails",
"Description": "Marketplace details of the resource.",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "subscriptionId",
"Description": "SaaS subscription id for the the marketplace offer",
"Required": false,
"Type": "string"
},
{
"#name": "subscriptionStatus",
"Description": "Marketplace subscription status",
"Enum": [
[
"PendingFulfillmentStart",
"Purchased but not yet activated"
],
[
"Subscribed",
"Marketplace subscription is activated"
],
[
"Suspended",
"This state indicates that a customer's payment for the Marketplace service was not received"
],
[
"Unsubscribed",
"Customer has cancelled the subscription"
]
],
"Required": false,
"Type": "string"
},
{
"#name": "offerDetails",
"Description": "Offer details for the marketplace that is selected by the user",
"Required": false,
"Type": "object",
"$properties": [
{
"#name": "publisherId",
"Description": "Publisher Id for the marketplace offer",
"Required": false,
"Type": "string"
},
{
"#name": "offerId",
"Description": "Offer Id for the marketplace offer",
"Required": false,
"Type": "string"
},
{
"#name": "planId",
"Description": "Plan Id for the marketplace offer",
"Required": false,
"Type": "string"
},
{
"#name": "planName",
"Description": "Plan Name for the marketplace offer",
"Required": false,
"Type": "string"
},
{
"#name": "termUnit",
"Description": "Term Name for the marketplace offer",
"Required": false,
"Type": "string"
},
{
"#name": "termId",
"Description": "Term Id for the marketplace offer",
"Required": false,
"Type": "string"
}
]
}
]
}
}
]
}
}
}
}
⚼ Request
PATCH:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
organizationName:
string
,
properties:
}
{
,
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
,
]
⚐ 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
,
]
⚐ Response (202)
{
location:
string
,
retry-after:
integer
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}