Manage customer accounts - Update self serve policy
Updates the self serve policies for a customer.
PUT https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy/{id}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id
|
path | True |
string |
The ID. |
version
|
path | True |
string |
Request Header
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Required | Type | Description |
---|---|---|---|
Authorization | True |
string |
Authorization Bearer token |
ms-correlationid |
string |
Used for tracking requests internally. If a ms-correlationid is not provided, the server will generate a new one for each request |
|
ms-cv |
string |
Used for tracking requests internally. If a ms-cv is not provided, the server will generate a new one for each request |
|
ms-requestid |
string |
Used for idempotency of requests. If a ms-requestid is not provided, the server will generate a new one for each request |
Request Body
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Type | Description |
---|---|---|
selfServePolicy |
Microsoft. |
The self serve policy. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Microsoft. |
The request was successful. The self serve policy is successfully created. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitions
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Name | Type | Description |
---|---|---|
grantorType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Name | Type | Description |
---|---|---|
action |
string |
|
resource |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Name | Type | Description |
---|---|---|
selfServeEntityType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy
Name | Type | Description |
---|---|---|
attributes | ||
grantor |
Microsoft. |
|
id |
string |
|
permissions |
Microsoft. |
|
selfServeEntity |
Microsoft. |