Manage customer accounts - Update Policies
PUT https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/policies/{policy_id}
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Klant-id. |
policy_id
|
path | True |
string |
Id van het beleid dat moet worden opgehaald. |
version
|
path | True |
string |
Aanvraagkoptekst
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Vereist | Type | Description |
---|---|---|---|
Authorization | True |
string |
Bearer-token voor autorisatie |
ms-correlationid |
string |
Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-correlationid is opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-cv |
string |
Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-cv is opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-requestid |
string |
Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid is opgegeven, genereert de server een nieuwe voor elke aanvraag |
Aanvraagbody
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Type | Description |
---|---|---|
category |
enum:
|
|
createdDate |
string |
|
description |
string |
|
devicesAssignedCount |
integer |
|
id |
string |
|
lastModifiedDate |
string |
|
links | ||
name |
string |
|
policySettings |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Microsoft. |
De aanvraag is geslaagd. Het beleid dat is gekoppeld aan de id en de klant wordt bewerkt en het antwoord in de hoofdtekst van het antwoord. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definities
Microsoft.Partner.Core.Collections.Link
Name | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.ConfigurationPolicy
Name | Type | Description |
---|---|---|
attributes | ||
category |
enum:
|
|
createdDate |
string |
|
description |
string |
|
devicesAssignedCount |
integer |
|
id |
string |
|
lastModifiedDate |
string |
|
links | ||
name |
string |
|
policySettings |
PolicySettings
Waarde | Description |
---|---|
none | |
oobe_user_not_local_admin | |
remove_oem_preinstalls | |
skip_eula | |
skip_express_settings | |
skip_oem_registration |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Type | Description |
---|---|---|
key |
string |
|
value |
string |