academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Data-source-field-restrictions → Replace data source field restrictions.

AI-generated

Summary

Updates the data source field restrictions on the academyFIVE platform by sending a JSON payload containing the field type, ID, and access permissions.

Inputs

  • data.type (required) — The type of the data source field.
  • data.id (required) — The ID of the data source field to update.
  • data.relationships (required) — Configuration for related fields (optional, nullable).
  • data.relationships.field (required) — Field-specific relationship data (optional, nullable).
  • data.relationships.field.data (required) — Type and ID of the related field (optional, nullable).
  • data.relationships.accessReadGroups (required) — Groups that have read access to the field (optional, nullable).
  • data.relationships.accessReadGroups.data (required) — Type and ID of read-access groups (optional, nullable).
  • data.relationships.accessWriteGroups (required) — Groups that have write access to the field (optional, nullable).
  • data.relationships.accessWriteGroups.data (required) — Type and ID of write-access groups (optional, nullable).

Output shape

A single JSON object with the API response for the update request.

The node uses the specified credentials to authenticate the request to the academyFIVE API.

Examples

Example 1: Configure a custom field to be read-only for most users but editable by specific group.

Set type 'custom', ID 'field_123', accessReadGroups to public, and accessWriteGroups to 'admin_group'.

Example 2: Disable a specific field entirely by clearing accessReadGroups and accessWriteGroups.

Keep type and ID, but set both group arrays to empty.

Links

Discussion