Hey, I’m trying to update a freshdesk contact via api as described here. When executing the example cURL I get the following error: { “message”: “PUT method is not allowed. It should be one of these method(s): GET” }
Any idea what could be the problem here?
Hey @Christof Hoping you tried this command. Could you also please share the executed command without sensitive data.
The executed command:
curl -v -u mykey:X -H ‘Content-Type: application/json’ -X PUT -d ‘{ “name”:“Clark Kent”, “job_title”:“Journalist”, “other_emails”: [“louis@freshdesk.com”, “jonathan.kent@freshdesk.com”] }’ ‘https://mydomain.freshdesk.com/api/v2/contacts/mycontactid’
The contact does exist. Calling the resource with GET yields the correct dataset.