Request
Add parameter in header X-DPT-AUTHORIZATION
Example:X-DPT-AUTHORIZATION: ********************
or
Body Params application/json
{
"dataToken": "MDE5NzgzM2ItMTI5Mi02OThmLWIxZTktMDExNjBmMDgwNjNiOjAxOTgxY2MwLTlkNjMtMTE3Yy1kNTM3LWFjYWVmMjE3ZmZiNQ==",
"data": "updated-data",
"meta": {
"information_security_risk": {
"classification": "top-secret",
"label": "test-label",
"handling": "test-handling"
},
"file": {
"fileName": "example-filename",
"context": "example-context",
"extension": "jpg",
"size": 123837,
"path": "/path/to/file"
},
"data": {
"type": "cloud-drive"
}
}
}
Request Code Samples
curl --location --request POST 'https://sandbox.privicore.com:9009/data-token/update-data' \
--header 'X-DPT-AUTHORIZATION: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"dataToken": "MDE5NzgzM2ItMTI5Mi02OThmLWIxZTktMDExNjBmMDgwNjNiOjAxOTgxY2MwLTlkNjMtMTE3Yy1kNTM3LWFjYWVmMjE3ZmZiNQ==",
"data": "updated-data",
"meta": {
"information_security_risk": {
"classification": "top-secret",
"label": "test-label",
"handling": "test-handling"
},
"file": {
"fileName": "example-filename",
"context": "example-context",
"extension": "jpg",
"size": 123837,
"path": "/path/to/file"
},
"data": {
"type": "cloud-drive"
}
}
}'
Responses
This response does not have a body.
Modified at 2025-12-02 10:52:26