Manage customer accounts - License Updates
POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenseupdates
POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenseupdates?isKickInstantOn={isKickInstantOn}
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
De tenant-id van de klant. |
user_id
|
path | True |
string |
De gebruikers-id of user principal name van een gebruiker voor licentietoewijzing. |
is
|
query |
boolean |
de vlag om aan te geven of direct moet worden gestart (dit is een specifieke queryparameter voor GoDaddy en alleen de GoDaddy-tenant van de klant heeft kick-API nodig. GoDaddy heeft deze vlag altijd verzonden. zodat we de standaardwaarde kunnen wijzigen in false). |
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 |
---|---|---|
licensesToAssign |
Microsoft. |
|
licensesToRemove |
string[] |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
object |
OK Media Types: "application/json", "text/json", "application/xml", "text/xml" |
201 Created |
OK Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definities
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Type | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment
Name | Type | Description |
---|---|---|
excludedPlans |
string[] |
|
skuId |
string |
Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate
Name | Type | Description |
---|---|---|
attributes | ||
licenseWarnings | ||
licensesToAssign |
Microsoft. |
|
licensesToRemove |
string[] |
Microsoft.Partner.Providers.Contracts.V1.LicenseWarning
Name | Type | Description |
---|---|---|
code |
string |
|
message |
string |
|
servicePlans |
string[] |