Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Setting → Update

AI-generated

Overview

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

  1. Updating the project URL setting to a new value.
  2. 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

Discussion