Try this:
fetch(
gateway+'/v1/objects/'+folderStoreID
, {
'headers': {
'content-type': 'application/json'
, 'x-xsrf-token': xsrfToken
}
, 'body': '{\'disabled\':true,\'type\':\'folder\'}'
, 'method': 'PUT'
, 'mode': 'cors'
, 'credentials': 'include'
}
);
Variables there are the gateway, folderStoreID, xsrfToken.
------------------------------
Paul Mendelson
------------------------------
Original Message:
Sent: Fri March 25, 2022 05:35 AM
From: Patrick Neveu
Subject: How to activate Disable this entry (for a report or folder) with RESP API?
Hi,
Any idea on this topic?
Best regards,
------------------------------
Patrick Neveu
Positive Thinking Company
------------------------------