Skip to main content
POST
cURL
Removes the direct access of users (userIds), the access of user groups (userGroupIds) and the pending invites of emails (emails) to a folder, as listed by the get folder access endpoint. Nobody is notified. The member and public link permissions are not changed, so a user may keep access through them or through a group. The last user with FullAccess cannot be removed while memberPermission is not FullAccess: the users of the request are removed together, so when this rule blocks them, none of them is removed and each gets the failed outcome. Each entry gets its own outcome, so one entry that fails does not stop the others:
  • revoked: the access or pending invite was removed.
  • failed: the entry could not be applied, for instance the user has no direct access to the folder, the user group has no access to it, or the email has no pending invite. error explains why.
API keys without access to private recordings cannot access folders whose memberPermission is NoAccess: they are reported as not found.

Authorizations

X-Claap-Key
string
header
required

Path Parameters

folderId
string
required

Folder identifier

Body

application/json
userIds
string[]

Users whose direct access to the folder is removed, as the userId returned by the get folder access endpoint.

Maximum array length: 50
userGroupIds
string[]

User groups whose access to the folder is removed.

Maximum array length: 50
emails
string[]

Emails whose pending invite to the folder is removed.

Maximum array length: 50

Response

Access was processed, see the outcome of each entry

result
object
required