portfolios
Create a new portfolio
Changed onpost/portfolios
Request
- Base URLhttps://api.securityscorecard.io
- URLhttps://api.securityscorecard.io/portfolios
- AuthAPI key in header Authorization
Request body
Example request
{
"name": "Our Vendors",
"description": "These are all the vendors we monitor for security risk",
"privacy": "private",
"team_id": "aea7dae2-370f-4279-a458-4c7cb9661778"
}Response
Create a new 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 the request property - 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