PowerStore:REST APIを使用して空の文字列によって変更されたEメール アドレスは失敗しますが、成功を返します。

概要: REST APIを使用して空の文字列を使用してemail_notify_destination オブジェクトのメール アドレスを変更しようとすると失敗しますが、成功を返します。

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

email_notify_destinationを空の文字列に変更すると、成功が返されます。ユーザーは、Eメール アドレスが正常に削除されたことを前提とします。

次に例を示します。
POST https://10.229.xx.xx:443/api/rest/email_notify_destination
{
  "email_address": "example@emc.com",
  "notify_critical": true,
  "notify_major": false,
  "notify_minor": true,
  "notify_info": true
}

GET https://10.229.xx.xx:443/api/rest/email_notify_destination/eb028fe4-6c75-42e2-9aff-3d65d8dfbb25?select=*
200
{
  "id": "eb028fe4-6c75-42e2-9aff-3d65d8dfbb25",
  "email_address": "example@emc.com",
  "notify_critical": true,
  "notify_major": false,
  "notify_minor": true,
  "notify_info": true
}

PATCH https://10.229.xx.xx:443/api/rest/email_notify_destination/eb028fe4-6c75-42e2-9aff-3d65d8dfbb25
{"email_address": ""}
==>
204
ここでは、「email_address」はパッチ適用前と同じです。
GET https://10.229.xx.xx:443/api/rest/email_notify_destination/eb028fe4-6c75-42e2-9aff-3d65d8dfbb25?select=*
200
{
  "id": "204b3978-0b3a-4c6e-a2bf-4b716502dd71",
  "email_address": "example@emc.com",
  "notify_critical": true,
  "notify_major": false,
  "notify_minor": true,
  "notify_info": true
}

原因

PowerStoreでは、ユーザーはEメール アドレスを0長の文字列に設定できません。

解決方法

Eメール アドレスを削除するには、PowerStore Managerを使用して DELETE アクションを使用してオブジェクトを削除します。

対象製品

PowerStore
文書のプロパティ
文書番号: 000198831
文書の種類: Solution
最終更新: 30 5月 2022
バージョン:  1
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。