SastSettings
This document uses the REST API. For more details, see the Authentication for API page.
Enable/Disable the Snyk Code settings for an org
Authorizations
Path parameters
org_idstring · uuidrequired
The id of the org for which we want to update the Snyk Code setting
Query parameters
versionstringrequired
Requested API version
Example:
2021-06-04
Pattern:
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Body
dataobjectrequired
Responses
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
cURL
JavaScript
Python
HTTP
201
400
401
403
404
500
Retrieves the SAST settings for an org
Authorizations
Path parameters
org_idstring · uuidrequired
The id of the org for which we want to retrieve the SAST settings
Query parameters
versionstringrequired
Requested API version
Example:
2021-06-04
Pattern:
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
cURL
JavaScript
Python
HTTP
200
400
401
403
404
500
Last updated
Was this helpful?