API Put User Extension Attribute Issues

eaititig
New Contributor III

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 1

eaititig
New Contributor III

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