Manage customer accounts - Update self serve policy
Uppdaterar självbetjäningsprinciperna för en kund.
PUT https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy/{id}
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
id
|
path | True |
string |
ID:t. |
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 |
---|---|---|
selfServePolicy |
Microsoft. |
Självbetjäningsprincipen. |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Microsoft. |
Begäran lyckades. Självbetjäningsprincipen har skapats. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitioner
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Name | Typ | Description |
---|---|---|
grantorType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Name | Typ | Description |
---|---|---|
action |
string |
|
resource |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Name | Typ | Description |
---|---|---|
selfServeEntityType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy
Name | Typ | Description |
---|---|---|
attributes | ||
grantor |
Microsoft. |
|
id |
string |
|
permissions |
Microsoft. |
|
selfServeEntity |
Microsoft. |