Main Site HUB Security Scorecard API 8.9 Delete An Existing Score Based Alerts

HUB

8.9 Delete An Existing Score Based Alerts

Delete An Existing Score Based Alerts

This API endpoint allows you to delete an existing alert that is based on score changes. You can check out the full specification for this endpoint here

Resource URI

/users/by-username/{username}/alerts/score/{alert_id}

Parameters:

Name Required Description
Username Y The username of a user (ex: [email protected])
Alert ID Y The ID of the Alert you want to update

Sample Code:


            curl -X DELETE \
                https://api.securityscorecard.io/users/by-username/[email protected]/alerts/score/4eb5bdd0-7760-11e9-9f8e-b9b95bc7cb61 \
                -H 'Accept: application/json' \
                -H 'Authorization: Token <Your API Key>' \
                -H 'Content-Type: application/json' \
                -H 'cache-control: no-cache'
        

Sample Response:

HTTP 204

The Server successfully processed the request, but is not returning any content.