Skip to main content
Question

API Put User Extension Attribute Issues

  • August 20, 2020
  • 1 reply
  • 0 views

Forum|alt.badge.img+5

Hi,

Just wondering if someone can point me in the right direction here. I've got no problem grabbing information via the API for the Custom Extension Attributes, I'm just having issues with the PUT. I've read many examples in the forums but I've not been able to get those to work.

Below is an example of the curl call:-

curl -X PUT SERVERURL -H 'Content-type: text/xml' -d '<?xml version="1.0" encoding="ISO-8859-1"?><extension_attribute><id>79</id><name>LAPS Password</name><type>String</type><multi_value>false</multi_value><value>password</value></extension_attribute>' --header 'authorization: Basic BASE64STRING'

Any ideas?

1 reply

Forum|alt.badge.img+5
  • Author
  • Contributor
  • 32 replies
  • August 20, 2020

AH figured it out ... I was missing extra tags of <extension_attributes> </extension_attributes> around the extenstion_attribute


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings