{
  "opencollection": "1.0.0",
  "info": {
    "name": "Snyk AccessRequests SastSettings API",
    "version": "REST"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "SastSettings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieves the SAST settings for an org",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.snyk.io/rest/orgs/:org_id/settings/sast",
            "params": [
              {
                "name": "version",
                "value": "2026-03-25",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              },
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "The id of the org for which we want to retrieve the SAST settings"
              }
            ]
          },
          "docs": "Retrieves the SAST settings for an org\n\n#### Required permissions\n\n- `View Organization (org.read)`"
        },
        {
          "info": {
            "name": "Enable/Disable the Snyk Code settings for an org",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.snyk.io/rest/orgs/:org_id/settings/sast",
            "params": [
              {
                "name": "version",
                "value": "2026-03-25",
                "type": "query",
                "description": "The requested version of the endpoint to process the request"
              },
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "The id of the org for which we want to update the Snyk Code setting"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enable/Disable the Snyk Code settings for an org\n\n#### Required permissions\n\n- `View Organization (org.read)`\n\n- `Edit Organization (org.edit)`"
        }
      ]
    }
  ],
  "bundled": true
}