manage_powerpages_webapi_config
Configure PowerPages WebAPI access and table permissions to control data exposure and security settings for portal users.
Instructions
Manage PowerPages WebAPI configurations and table permissions. Add/remove WebAPI access for tables, configure table permissions, and check configuration status for PowerPages portals.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accessType | No | Access type for the permission | Global |
fields | No | Fields to expose via WebAPI (default: '*' for all fields) | * |
operation | Yes | Type of configuration operation to perform | |
permissionName | No | Name for the table permission | |
privileges | No | Privileges to grant | |
projectPath | No | Path to PowerPages project (defaults to current directory) | |
tableName | No | Logical name of the table (e.g., 'cr7ae_creditcardses', 'contacts') | |
webRoleName | No | Web role name (default: 'Authenticated Users') | Authenticated Users |
Input Schema (JSON Schema)
{
"properties": {
"accessType": {
"default": "Global",
"description": "Access type for the permission",
"enum": [
"Global",
"Contact",
"Account",
"Parent"
],
"type": "string"
},
"fields": {
"default": "*",
"description": "Fields to expose via WebAPI (default: '*' for all fields)",
"type": "string"
},
"operation": {
"description": "Type of configuration operation to perform",
"enum": [
"add_webapi_config",
"remove_webapi_config",
"list_webapi_configs",
"add_table_permission",
"remove_table_permission",
"list_table_permissions",
"check_config_status"
],
"type": "string"
},
"permissionName": {
"description": "Name for the table permission",
"type": "string"
},
"privileges": {
"default": [
"Read"
],
"description": "Privileges to grant",
"items": {
"enum": [
"Create",
"Read",
"Write",
"Delete",
"Append",
"AppendTo"
],
"type": "string"
},
"type": "array"
},
"projectPath": {
"description": "Path to PowerPages project (defaults to current directory)",
"type": "string"
},
"tableName": {
"description": "Logical name of the table (e.g., 'cr7ae_creditcardses', 'contacts')",
"type": "string"
},
"webRoleName": {
"default": "Authenticated Users",
"description": "Web role name (default: 'Authenticated Users')",
"type": "string"
}
},
"required": [
"operation"
],
"type": "object"
}