Share via


Azure spending - Reactivate an Azure entitlement

特定の顧客のサブスクリプションの Azure エンタイトルメントを再アクティブ化します。

POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/azureEntitlements/{entitlement_id}/reactivate

URI パラメーター

名前 / 必須 説明
customer_id
path True

string

entitlement_id
path True

string

subscription_id
path True

string

version
path True

string

要求ヘッダー

名前 必須 説明
Authorization True

string

承認ベアラー トークン

MS-CorrelationId

string

要求を内部的に追跡するために使用されます。 MS-CorrelationId が指定されていない場合、サーバーは要求ごとに新しいものを生成します

MS-CV

string

要求を内部的に追跡するために使用されます。 MS-CV が指定されていない場合、サーバーは要求ごとに新しい CV を生成します

MS-RequestId

string

要求のべき等性に使用されます。 MS-RequestId が指定されていない場合、サーバーは要求ごとに新しいものを生成します

応答

名前 説明
202 Accepted

サブスクリプション要求の Azure エンタイトルメントの再アクティブ化が受け入れされました。

Media Types: "text/plain", "application/json", "text/json"

400 Bad Request

入力が見つからないか、無効でした。 応答本文には、エラーの詳細が表示されます。

Media Types: "text/plain", "application/json", "text/json"

401 Unauthorized

要求が認証されませんでした。 クライアントは、最初にパートナー API サービスで認証する必要があります。

Media Types: "text/plain", "application/json", "text/json"

403 Forbidden

要求は認証されましたが、呼び出し元に呼び出し権限がないため拒否されました。

Media Types: "text/plain", "application/json", "text/json"

404 Not Found

リソースが見つからないか、指定された入力パラメーターで使用できません。

Media Types: "text/plain", "application/json", "text/json"

500 Internal Server Error

サーバー エラー

Media Types: "text/plain", "application/json", "text/json"