LanguagesSettings
Snyk API reference for the LanguagesSettings endpoints, including request parameters and response schemas
Retrieves the language settings for a specific organization.
Required permissions
View Organization (org.read)
API key value must be prefixed with "Token ".
The id of the org for which we want to update the Snyk Languages settings
Requested API version
2026-03-25Pattern: ^(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))?))$Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=Number of results to return per page
10Example: 10The Languages settings for the org
Bad Request: A parameter provided as a part of the request was invalid.
Unauthorized: the request requires an authentication token.
Forbidden: the request requires an authentication token with more or different permissions.
Not Found: The resource being operated on could not be found.
Internal Server Error: An error was encountered while attempting to process the request.
GET /rest/orgs/{org_id}/settings/open_source/languages?version=2026-03-25 HTTP/1.1
Host: api.snyk.io
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"attributes": {
"languages": {
"dotnet": {
"nuget": {
"include_dev_dependencies": true
}
},
"golang": {
"gomodules": {
"full_source_code_analysis": true
}
},
"java": {
"maven": {
"mirrors": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"mirror_of": "text"
}
],
"repositories": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
},
"javascript": {
"npm": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"pnpm": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"yarn": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"php": {
"composer": {
"include_dev_dependencies": true
}
},
"python": {
"pip": {
"python_version": "2"
},
"pipenv": {
"include_dev_dependencies": true
},
"poetry": {
"include_dev_dependencies": true
}
}
}
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "languages_settings"
},
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "https://example.com/api/resource",
"last": "https://example.com/api/resource",
"next": "https://example.com/api/resource",
"prev": "https://example.com/api/resource",
"related": "https://example.com/api/resource",
"self": "https://example.com/api/resource"
}
}Updates one or more language settings for a specific organization.
Required permissions
-
View Organization (org.read) -
Edit Organization (org.edit)
API key value must be prefixed with "Token ".
The id of the org for which we want to update the Snyk Languages settings
The language for which settings are being updated
Requested API version
2026-03-25Pattern: ^(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))?))$The Languages settings for the org have been updated
Bad Request: A parameter provided as a part of the request was invalid.
Unauthorized: the request requires an authentication token.
Forbidden: the request requires an authentication token with more or different permissions.
Not Found: The resource being operated on could not be found.
Internal Server Error: An error was encountered while attempting to process the request.
PATCH /rest/orgs/{org_id}/settings/open_source/languages/{language}?version=2026-03-25 HTTP/1.1
Host: api.snyk.io
Authorization: YOUR_API_KEY
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 971
{
"data": {
"attributes": {
"package_managers": {
"npm": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"pnpm": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"yarn": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "language_settings"
}
}{
"data": {
"attributes": {
"languages": {
"dotnet": {
"nuget": {
"include_dev_dependencies": true
}
},
"golang": {
"gomodules": {
"full_source_code_analysis": true
}
},
"java": {
"maven": {
"mirrors": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"mirror_of": "text"
}
],
"repositories": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
},
"javascript": {
"npm": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"pnpm": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"yarn": {
"exclude_lockfile_in_pr": true,
"include_dev_dependencies": true,
"registries": [
{
"integration_type": "artifactory",
"repository": "text",
"type": "direct",
"url": "text",
"ANY_ADDITIONAL_PROPERTY": "anything",
"scope": "text"
}
],
"strict_out_of_sync": true,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"php": {
"composer": {
"include_dev_dependencies": true
}
},
"python": {
"pip": {
"python_version": "2"
},
"pipenv": {
"include_dev_dependencies": true
},
"poetry": {
"include_dev_dependencies": true
}
}
}
},
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "languages_settings"
},
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "https://example.com/api/resource",
"last": "https://example.com/api/resource",
"next": "https://example.com/api/resource",
"prev": "https://example.com/api/resource",
"related": "https://example.com/api/resource",
"self": "https://example.com/api/resource"
}
}Last updated
Was this helpful?

