Main Site HUB Security Scorecard API 6.7 Remove A Company From a Portfolio

HUB

6.7 Remove A Company From a Portfolio

Remove A Company From a Portfolio

SecurityScorecard allows you to manage the companies you have in portfolio via an API. You can add and remove companies from a portfolio as well as get a list of all companies in a portfolio. This API endpoint allows you to remove a company from a portfolio. You can check out the full specification for this endpoint here.

Resource URI

/portfolios/{portfolio_id}/companies/{domain}

Parameters:

Name Required Description
Portfolio ID Y The ID of the portfolio for which you want to generate this report
Domain Y The primary domain identifying a company in SecurityScorecard.

Sample Code:


            curl -X DELETE \
                https://api.securityscorecard.io/portfolios/5d55b74ab9985f0022b0d2b4/companies/ovofinance.com \
                -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.