Update project details
Update attributes for the project using the value passed in to the request body.
Note: The only attribute that is supported as of January 2023 is tags.
Documentation Index
Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Get access to data with your API token. Example header:
Authorization: Bearer 2991e2fb4b540fe75b8f90677b0b892b6314e4961cb001fe6eb452eee248a628
The token can be provisioned from the Tokens section in your Settings, and requires explicitly enabling Web API access.
Path Parameters
Slug of the deployment name. Can be found at /deployments, or in your Settings in the web UI.
"your-deployment"
Name of the project, typically the repository formatted as a path.
"organization/project"
Body
Slug of the deployment name. Can be found at /deployments, or in your Settings in the web UI.
"your-deployment"
[Beta] Configuration of Semgrep Managed Scans for the project, if relevant.
The full name of the branch you would like to set as primary. Use "None" if default_branch is known and you wish to set primary to always be the default branch.
"refs/heads/develop"
Name of the project, typically the repository formatted as a path.
"organization/project"
Tags associated to this project.
["tag"]Response
OK
Successfully updated details for the project.
A project in your organization that uses Semgrep.