Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Setting → Update
AI-generatedOverview
This node updates settings in the Directus system. It allows users to modify system settings by specifying parameters either through a structured UI or by providing raw JSON data. This is useful for automating configuration changes or integrating system settings updates into workflows.
Use Case Examples
- Updating the project URL setting to a new value.
- Changing metadata or applying filters to settings updates.
Properties
| Name | Meaning |
|---|---|
| JSON/RAW Parameters | Determines whether query and/or body parameters are set via UI or raw JSON input. |
| Query Parameters | Query parameters as a JSON object, used when JSON/RAW Parameters is true. |
| Additional Fields | Additional optional fields for the update operation, including aggregation functions, export options, filtering, sorting, grouping, and pagination. |
| Data (JSON) | Partial settings object to update, provided as JSON. |
Output
JSON
updatedSettings- The updated settings object returned from the API after the update operation.
Dependencies
- Directus API
Troubleshooting
- Ensure the JSON input is correctly formatted when using JSON/RAW Parameters to avoid parsing errors.
- Verify that required fields like 'data' are provided to prevent incomplete updates.
- Check API authentication credentials if the update operation fails due to permission issues.
Links
- Directus Settings API Documentation - Reference for the settings object and update operations in Directus API.