cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
adarshhs
Level 2

[Code Insight 6.x] How to change 'Team' of a project using rest APIs ?

Jump to solution

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.

Labels (1)
0 Kudos
(1) Solution
tphamda
Revenera
Revenera

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):

https://community.flexera.com/t5/Code-Insight-Knowledge-Base/FlexNet-Code-Insight-API-Examples/ta-p/676  

View solution in original post

(1) Reply
tphamda
Revenera
Revenera

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):

https://community.flexera.com/t5/Code-Insight-Knowledge-Base/FlexNet-Code-Insight-API-Examples/ta-p/676