Edit data set row

I am trying to edit a row in a data set via an API call and getting an error
I have confirmed my dataset ID is 62 and my row id is 1
I want to change the data in the column “score” that has the dataSetColumnId_ID of 293

using Swagger I have built the following py code (with help from Problem while Adding or Editing Rows in a Dataset via API)

py code

url = f"http://dtmgc.xibo.co.uk/api/dataset/data/62/1"
headers = {‘Authorization’:"Bearer "+ GetAccessToken(),
‘Content-Type’ : ‘application/x-www-form-urlencoded’}
data = {
‘dataSetColumnId_293’ : ‘99’,
api_response = requests.request(“Put”,url,headers = headers,data=data)

I get the following error

{“success”:false,“error”:405,“message”:“405 Method Not Allowed”,“help”:“The request method is not supported for the requested resource.”}

ok update on this it actually updates the data when i look in the dataset so I am not so sure about the error message

I have the same issue !

Are you sure that’s right? wouldn’t it be “PUT”?

method – method for the new Request object: GET, OPTIONS, HEAD, POST, PUT, PATCH, or DELETE.