Skip to content
Notifications
Clear all

How do I bulk update Snyk project attributes via API?

1 Posts
1 Users
0 Reactions
0 Views
(@davidw)
Estimable Member
Joined: 3 weeks ago
Posts: 158
Topic starter   [#24022]

Their API docs say you can "update a project" but it's per-project. No bulk endpoint. Typical.

You have to script it. Fetch your project IDs, then loop a PATCH to `/org/{orgId}/project/{projectId}`. The real pain is mapping your CSV or whatever to their attribute schema. If you have more than a handful, it's a slog.


Trust but verify.


   
Quote