/teams/{team-id}/projects

Add projects to a team

Add Projects to a Team

This endpoint allows you to add one or more projects to a specific team on FOSSA.

Endpoint

PUT https://app.fossa.com/api/teams/<team-id>/projects

Replace <team-id> with the actual team identifier.

Headers

  • accept: */*
  • content-type: application/json
  • Authorization: Bearer <token>

Replace <token> with your actual authentication token.

Request Body

The request body must be in JSON format. Below is an example of the payload:

{
  "projects": [
    "custom+xxxxx/[email protected]:cool/cool.git",
    "custom+xxxxx/github.com/fossas/cool",
    "custom+xxxxx/cool"
  ],
  "action": "add"
}