/v2/projects/labels

Apply a label to one to many projects.

Query Params
number
required

The ID of the label you want to apply to projects.

enum
required

The list of locators for the projects to update. If "all" is provided, then all projects that meet the provided filters will have the label applied.

string

Filter by project name.

string
enum

Filter by project type.

Allowed:
boolean

Filter by project being public or private.

labels[]
array of strings

Filter by project labels.

labels[]
teamId[]

Filter by one or more team IDs. Providing "null" will return all unassigned projects.

integer

Filter by last policy scan within N days.

integer

Filter by last revision analyzed within N days.

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json