Get Shared Folder Data via LastPass API
Use this API for getting a list of all shared folders and the permissions granted to them.
API command
getsfdata
Additional details
The 'data' field is optional; it also lists super admins.
Request sample
{
"cid": 12345678,
"provhash": "<Your API Secret>",
"cmd": "getsfdata",
"data": "all"
}
Response sample
{
"101": {
"sharedfoldername": "ThisSFName",
"score": 99,
"users": [
{
"username": "joe.user@lastpass.com",
"readonly": 0,
"give": 1,
"can_administer": 1
},
{
"username": "jane.user@lastpass.com",
"readonly": 1,
"give": 0,
"can_administer": 0
}
]
}
}