iSheets API version 2 - iSheet admin - API - iSheet permissions - iSheet permissions - enable/disable
OVERVIEW
This method is used to enable/disable a permission at the iSheet level
PUT /api/3/isheets/admin/{iSheetID}/permissions/status?enablepermissions={true/false}
Response:
The method returns a 200 http response in the case of a successful request, otherwise an error object is returned.
Andrew Quinn Thanks a lot for your quick response.
If this returns 403 (Access Denied) then there are no permissions enabled for this iSheet (checkbox clear).
Otherwise, returns the permissions matrix set in that Admin module, e.g.
{
"isheetpermission": [
{
"id": 999,
"isheetview": {
"own": "1",
"thisentity": "1",
"all": "1"
},
"isheetedit": {
"own": "1",
"thisentity": "1",
"all": "1"
}
}
],
"usergrouptype": "2"
}
Andrew
Hi everyone,
How do we know if the status of an isheet permission is enabled or not?
In this case, I have an isheet but the "Enabled permissions" checkbox is not checked, and when I call API /{version}/isheets/admin/{isheetid}/permissions to get the isheet permission I receive an Access Denied message (currently I am a site admin).
I looked for APIs for that but did not see it. Could you please provide me with some APIs to get the status?
Comments
3 Comments