保証レベルを削除する
delete
/oaa-policy/assuranceLevel/v1/{levelId}
リクエスト
パス・パラメータ
- levelId(required): string
保証レベルの識別子。
この操作にはリクエスト本文はありません。
先頭に戻るレスポンス
サポートされるメディア・タイプ
- application/xml
- application/json
200レスポンス
保証レベルが削除されました
ルート・スキーマ: AssuranceLevelsResponse
型:
objectユーザーの保証レベルのリストが含まれます。
ソースの表示
-
assuranceLevels: array assuranceLevels
保証レベルの配列
-
message: object AssuranceLevelsAPIResponse
保証レベルAPIに対するレスポンス。
-
pageInfo: object Pagination2
オブジェクトは結果のページ区切りを決定します。
ネストされたスキーマ: schema
型:
object単一の保証レベルの詳細。
ソースの表示
-
agentid(required): string
保証レベルが属するエージェント識別子
-
description(required): string
保証レベルの説明
-
id: string
保証レベル識別子
-
name(required): string
保証レベルの名前
401レスポンス
未認可
405レスポンス
無効な入力
500レスポンス
内部サーバー・エラー
503レスポンス
サービス使用不可
例
次の例は、保証レベルを削除するサンプルのリクエストとレスポンスを示します。
JSON形式で保証レベルを削除するcURLコマンド
curl --location --request DELETE '<PolicyUrl>/oaa-policy/assuranceLevel/v1/AssuranceLevel2' \ --header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'
JSON形式のサンプル・レスポンス
{
"assuranceLevels": [
{
"id": "AssuranceLevel2",
"name": "AssuranceLevel2",
"description": "Assurance Level 2",
"agentid": "dede64d3-1d6a-42e9-89e1-714e88f8967c"
}
],
"message": {
"responseCode": "200",
"responseMessage": "Assurance level deleted."
}
}XML形式で保証レベルを削除するcURLコマンド
curl --location --request DELETE '<PolicyUrl>/oaa-policy/assuranceLevel/v1/AssuranceLevel2' \ --header 'Content-Type: application/xml' \ --header 'Accept: application/xml' \ --header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'
XML形式のサンプル・レスポンス
<?xml version="1.0" encoding="UTF-8" ?>
<AssuranceLevelsResponse>
<assuranceLevels>
<id>AssuranceLevel2</id>
<name>AssuranceLevel2</name>
<description>Assurance Level 2</description>
<agentid>dede64d3-1d6a-42e9-89e1-714e88f8967c</agentid>
</assuranceLevels>
<message>
<responseCode>200</responseCode>
<responseMessage>Assurance level deleted.</responseMessage>
</message>
</AssuranceLevelsResponse>