Delete key
less than a minute
POST
Use this endpoint to permanently delete one or more SSH keys from the scan.https://daas.digicert.com/apicontroller/v1/key/delete
Example requests and responses
cURL
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/key/delete' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw
'{
"accountId": 5153289,
"divisionIds": [678010],
"keyNameList": ["2500c5a5e2524ad63f30e6250538f4c7","3c6d5c995db5c6255ad3788ed2f57a01"]
}'
200 OK
{
"error": null,
"data": "success"
}
Request parameters
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| accountId | required | string | Account ID. |
| divisionIds | required | array | User’s division IDs. |
| keyNameList | required | array | List of one or more strings. Each string is the name of a key to delete. |
Response parameters
| Name | Type | Description |
|---|---|---|
| error | object | Includes error codes, if any. |
| data | string | Message with information about the request. |
Was this page helpful?
Provide feedback