Manage customer accounts - Update Policies
PUT https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/policies/{policy_id}
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Kund-ID. |
policy_id
|
path | True |
string |
ID för principen som ska hämtas. |
version
|
path | True |
string |
Begärandehuvud
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Authorization | True |
string |
Token för auktoriseringsbärare |
ms-correlationid |
string |
Används för att spåra begäranden internt. Om ett ms-correlationid inte anges genererar servern en ny för varje begäran |
|
ms-cv |
string |
Används för att spåra begäranden internt. Om en ms-cv inte tillhandahålls genererar servern en ny för varje begäran |
|
ms-requestid |
string |
Används för idempotens för begäranden. Om ett ms-requestid inte har angetts genererar servern en ny för varje begäran |
Begärandetext
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Typ | Description |
---|---|---|
category |
enum:
|
|
createdDate |
string |
|
description |
string |
|
devicesAssignedCount |
integer |
|
id |
string |
|
lastModifiedDate |
string |
|
links | ||
name |
string |
|
policySettings |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Microsoft. |
Begäran lyckades. Principen som är associerad med ID:t och kunden redigeras och svaret i svarstexten. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitioner
Microsoft.Partner.Core.Collections.Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.ConfigurationPolicy
Name | Typ | Description |
---|---|---|
attributes | ||
category |
enum:
|
|
createdDate |
string |
|
description |
string |
|
devicesAssignedCount |
integer |
|
id |
string |
|
lastModifiedDate |
string |
|
links | ||
name |
string |
|
policySettings |
PolicySettings
Name | Typ | Description |
---|---|---|
none |
string |
|
oobe_user_not_local_admin |
string |
|
remove_oem_preinstalls |
string |
|
skip_eula |
string |
|
skip_express_settings |
string |
|
skip_oem_registration |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |