portfolios
Edit a portfolio
Changed onput/portfolios/{portfolio_id}
Request
- Base URLhttps://api.securityscorecard.io
- URLhttps://api.securityscorecard.io/portfolios/{portfolio_id}
- AuthAPI key in header Authorization
Path parameters
portfolio_idstring uuid required
Unique identifier for the resource
Request body
Example request
{
"name": "Our Vendors",
"description": "These are all the vendors we monitor for security risk",
"privacy": "private"
}Response
the edited portfolio
Example response
{
"id": "aea7dae2-370f-4279-a458-4c7cb9661778",
"name": "Our Vendors",
"description": "These are all the vendors we monitor for security risk",
"privacy": "private"
}Changes
- breaking
added the pattern
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$to thepathrequest parameterportfolio_id - breaking
for the
pathrequest parameterportfolio_id, the format changed from no format touuid - breaking
the response property
became optional for the status - info
media type
application/json; charset=utf-8was changed toapplication/jsonfor the response status - info
added the optional property
to the response with the status - info
the
response's property pattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$was added for the status
- breaking