Update organization SBOM report defaults
https://app.fossa.com/api/organizations/{id}/sbomReportDefaultsUpdates organization-level defaults used for SBOM report author metadata. These values are used as fallback metadata when SBOM report requests omit `authorName`, `authorEmail`, or `supplier` query parameters. Requires a premium subscription.
Path parameters
idintegerrequiredThe organization ID.
Request body · application/json
sbomReportAuthorNamestringsbomReportAuthorEmailstringsbomReportSupplierstringResponses
200OKsbomReportAuthorNamestringrequiredsbomReportAuthorEmailstringrequiredsbomReportSupplierstringrequired400Bad RequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
401UnauthorizeduuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403Forbidden — the user lacks the required permission, or the organization does not have a premium subscription.uuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
404NotFounduuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
500Server ErroruuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
Try this endpoint
Build a request and run it against app.fossa.com.
Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.
PUT https://app.fossa.com/api/organizations/1234/sbomReportDefaultscurl --request PUT \ --url 'https://app.fossa.com/api/organizations/1234/sbomReportDefaults' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN' \ --header 'content-type: application/json' \ --data '{ "sbomReportAuthorName": "SBOM Team", "sbomReportAuthorEmail": "sbom@example.com", "sbomReportSupplier": "FOSSA"}'Real request. Mutating methods can change data.
Path params
idintegerrequiredThe organization ID.