Skip to content

Delete Portfolio

Request

This endpoint allows you to delete the portfolio using the portfolioId.

Security
bearerToken
Path
portfolioIdintegerrequired

The unique identifier of the portfolio that you wish to delete, obtained from /portfolios.

Example:123456
curl -i -X DELETE \
  https://connect.sandbox.creditsafe.com/v1/monitoring/portfolios/123456 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success. The portfolio and its companies were deleted.

Bodyapplication/json
correlationIdstring

A unique ID assigned to this request.

Example:"23921650-c073-11ea-860f-06bc8182190e"
messagestring

Message stating if your request was successful

Example:"Portfolio removed"
Response
{ "correlationId": "23921650-c073-11ea-860f-06bc8182190e", "message": "Portfolio removed" }