igniral_update_dynamic_endpoint
Modify the schema, methods, or security configuration of an existing dynamic API endpoint to update its behavior.
Instructions
Updates a dynamic API endpoint within an existing application. Requires an endpointId from a previous list_applications call.
Use this to modify the schema or configuration of an already existing endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpointId | Yes | ID of the endpoint to update | |
| applicationId | Yes | ID of the application the endpoint belongs to | |
| endpointPath | Yes | URL path for the endpoint (e.g., '/products', '/users', '/orders'). Must start with / and use lowercase letters, numbers, and hyphens. | |
| allowedMethods | Yes | HTTP methods to enable: ['GET', 'POST', 'PUT', 'DELETE']. Include all methods the endpoint should support. | |
| schemaDefinition | Yes | JSON Schema defining the data structure for this endpoint. Must include "$schema", "type": "object", and "properties". Each property needs a type (string, number, integer, boolean, array, object). | |
| type | No | Endpoint type: 'JSON' for data APIs (default), 'FILE' for file uploads | |
| visibility | No | Endpoint visibility: 'PRIVATE' (default, requires auth) or 'PUBLIC' (accessible without auth, only for public apps) | |
| securityPolicy | No | Data access control: 'NONE' (shared data), 'OWNER_ONLY' (users see only their data), 'CLAIM_FILTER' (filter by JWT claims, requires securityConfig) | |
| securityConfig | No | Required when securityPolicy is 'CLAIM_FILTER'. Defines which JWT claim maps to which data field for filtering. | |
| endpointDocumentation | No | Human-readable documentation for this endpoint |