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 パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
customer_id
|
path | True |
string |
顧客テナント ID。 |
user_id
|
path | True |
string |
ライセンス割り当てのユーザーのユーザー ID またはユーザー プリンシパル名。 |
is
|
query |
boolean |
インスタントオンを開始するかどうかを示すフラグ (これは GoDaddy の特定のクエリ パラメーターであり、GoDaddy の顧客テナントのみが kick API を必要とします。GoDaddy は常にこのフラグを送信しています。既定値を false に変更できます)。 |
要求ヘッダー
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
承認ベアラー トークン |
ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-cv |
string |
要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
要求本文
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
名前 | 型 | 説明 |
---|---|---|
licensesToAssign |
Microsoft. |
|
licensesToRemove |
string[] |
応答
名前 | 型 | 説明 |
---|---|---|
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" |
定義
Microsoft.Partner.Core.Collections.ResourceAttributes
名前 | 型 | 説明 |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment
名前 | 型 | 説明 |
---|---|---|
excludedPlans |
string[] |
|
skuId |
string |
Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate
名前 | 型 | 説明 |
---|---|---|
attributes | ||
licenseWarnings | ||
licensesToAssign |
Microsoft. |
|
licensesToRemove |
string[] |
Microsoft.Partner.Providers.Contracts.V1.LicenseWarning
名前 | 型 | 説明 |
---|---|---|
code |
string |
|
message |
string |
|
servicePlans |
string[] |