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.
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.