- Revenera Community
- :
- Code Insight
- :
- Code Insight Forum
- :
- [Code Insight 6.x] How to change 'Team' of a project using rest APIs ?
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I am unable to figure out how to change Team info for a project on Code Insight 6.x using RestAPIs.
I did try
POST /project/configureProject/
but couldn't get this to work.
Would you let me know if this is possible APIs and guide me on how to get it to work.
- Tags:
- RestAPI
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @adarshhs,
Unfortunately, the REST API for Code Insight 6.x is limited. The ConfigureProjectSettings API can only update the following properties:
- scanServerAlias
- autoPublishInventory
- applyPoliciesToInventory
- scanProfileName
- projectMetadata
To update the Team Name, you can instead use the Java API. You can find examples in the following article (search for createOrUpdateProject):
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @adarshhs,
Unfortunately, the REST API for Code Insight 6.x is limited. The ConfigureProjectSettings API can only update the following properties:
- scanServerAlias
- autoPublishInventory
- applyPoliciesToInventory
- scanProfileName
- projectMetadata
To update the Team Name, you can instead use the Java API. You can find examples in the following article (search for createOrUpdateProject):