5 Replies Latest reply on Jul 27, 2016 10:52 AM by nallasivam.jive

    How to add extended property to a security group using REST API call?

    nallasivam.jive

      How to add extended property to a security group using REST API call? Does any one knows about it?

       

      I tried using this REST call, but the posted changes not reflected when i try to get it.

      Here is the post call. Anything missing or wrong here?

       

       

      osapi.jive.core.put({ 
        v:'v3',
        href:'/securityGroups/<group id>/extprops',
        body: {'extprops':{'k1':'v1'}},
        }).execute(
      
        function (response) {
        if(response.error){
        console.log('error : ' + response.error.code);
        }else{
        console.log('success : ' );
        }
        }
        );
      

      Thanks

      Nallasivam