For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update multiple attributes with the REST API

Use the PATCH method of the /attributes/bulk endpoint of the Collibra Core REST API to update multiple attributes.

curl -X PATCH 'https://<your_collibra_url>/rest/2.0/attributes/bulk' \
-H 'Content-Type: application/json' \
-d '[
    {
        "id": "a30b2eee-76ba-48ec-818d-70038dcaaa15",
        "value": "Team Lead developer"
    },
    {
        "id": "0e06f395-337f-427a-b708-f73867cec3b7",
        "value": ["English", "French"]
    }
]'

You must provide two parameters in JSON format:

  • id: the universally unique identifier (UUID) of the attribute that you want to modify.

  • value: the new value of the attribute.

In this example, two employees have updates that need to be reflected in Collibra Platform:

  • Colette Davis has had a promotion and the Job Title attribute needs to be updated to Team Lead developer.

  • John Fisher's profile is not reflecting his knowledge of French and the Languages attribute needs to be updated to English and French.

Steps

  • Retrieve the IDs of the assets that contain the attributes:

  • Retrieve the IDs of the attributes for each of the assets that need to be updated:

  • Use the IDs of the attributes and provide new values for each of them:

    Use an array as the value for Multiple Selection attributes.

Last updated

Was this helpful?