使用此端點中止感應器。
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/sensor/suspend' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"accountId":5153184,"divisionIds":[677793],"licenseKey":[{{license_key}}],"reason":"Duplicate sensor"}'
[
{
"error": null,
"data": {
"id": "6DE804CF68C9CF06",
"message": "Sensor Suspended Successfully"
}
}
]
名稱 | 必填/選填 | 類型 | 說明 |
---|---|---|---|
accountId | 必填 | string | 帳戶 ID。 |
divisionIds | 必填 | array | 使用者的分部 ID。 |
licenseKey | 必填 | 字串 | 要中止的感應器的授權密鑰。 |
原因 | 選填 | 字串 | 中止感應器的原因。 |
名稱 | 類型 | 說明 |
---|---|---|
error | object | 納入錯誤代碼 (如果有)。 |
data | object | 回應的物件容器。 |
.. id | string | 中止的感應器的授權密鑰。 |
.. message | string | 有要求相關其他資訊的訊息。 |