update_class_permissions
Set who can find, create, update, or delete a Parse class's objects, or add fields, by user, role, or authentication. Check current permissions first because changes can block existing clients.
Instructions
Set who may get, find, create, update and delete the objects of a class, and add fields to it: everyone ("*"), any signed-in user (requiresAuthentication), a role (role:Name) or a user's id. Use it to lock a class down. Clients that relied on the old permissions stop working, so check get_class_permissions first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appObjectId": "<appObjectId>",
"className": "<className>",
"permissions": "<permissions>"
},
"name": "update_class_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | Yes | The class name | |
| appObjectId | Yes | The app: its name or objectId (see list_apps) | |
| permissions | Yes | JSON string of CLP object. Example: {"find":{"*":true},"create":{"role:Admin":true},"delete":{"requiresAuthentication":true}} |