Dismiss header recommendation
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Removes one security header recommendation from the app's security scan result without changing the app's headers. Get the flag from header_recommendations in Get security scan.
The recommendation stays out of the scan result until the next call to Run security scan. That call judges the app's headers again, even when it returns the existing scan result, so the recommendation comes back if it still applies.
To act on the recommendation instead, turn the setting on with Update security headers.
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/apps/{app_id}/security/scan/header-recommendations/{flag}
- Auth: HTTP bearer
Path parameters
The recommendation to dismiss, as returned in header_recommendations[].flag by Get security scan. Either prevent_iframe_embedding or restrict_browser_features.
ID of the app.
Response
The recommendation is dismissed, or there was nothing to dismiss.
Example response
{
"status": "ok"
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
endpoint added
- info