academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Data-source-field-option-group-restrictions [Beta] → Update a data source field option group restriction

AI-generated

Summary

Update a specific data source field option group restriction by sending the required data payload including type, id, attributes, and optional relationships to the academyFIVE API.

Inputs

  • data (required) — An object containing the required 'type' and 'id' identifying the data source field option group restriction to update, required 'attributes' that include 'fieldOptionId' if applicable, and optional 'relationships' which may include 'field' and 'fieldOptionGroup' with their respective nested data identifying associated entities.

Output shape

a JSON array with the API response objects related to the updated data source field option group restriction, including any returned fields from the API.

The response is returned as JSON data. If multiple input items are processed, each response is paired with the corresponding input item. Errors can be handled based on the node's continueOnFail setting.

Examples

Example 1: Update the fieldOptionId attribute of an existing data source field option group restriction

Set the resource to 'Data-source-field-option-group-restrictions [Beta]', the operation to 'Update a data source field option group restriction', then fill the 'data' parameter with the 'type' and 'id' of the object to update, provide the updated 'attributes' with new 'fieldOptionId', and optionally specify relationships if needed.

Links

Discussion