Update data attribute
PUT/config/data-agreements/data-attribute/:dataAttributeId
This endpoint updates an existing data attribute defined in a data agreement. If updated, the associated data agreement revision is incremented automatically.
Request
Path Parameters
Unique ID of an object
- application/json
Body
dataAttribute objectrequired
Data attributes contain specifications of exactly what is collected.
Data attribute ID
Name of the attribute, for instance "name" or "age"
Description of the attribute
Sensitivity of data attribute
Category of data attribute
Scope required for data attribute
Responses
- 200
- 400
- 401
- 500
Data attribute updated successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
dataAttribute object
Data attributes contain specifications of exactly what is collected.
Data attribute ID
Name of the attribute, for instance "name" or "age"
Description of the attribute
Sensitivity of data attribute
Category of data attribute
Scope required for data attribute
{
"dataAttribute": {
"id": "65471222e8c7c3bb3c2c8501",
"name": "Name",
"description": "Full name of the individual",
"sensitivity": false,
"category": "Personal",
"scope": "read"
}
}
bad input parameter
Response Headers
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}