Skip to content

Add a data asset to the inventory

POST
/v1/data-assets
curl --request POST \
--url https://api.varman.io/v1/data-assets \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "Customer CRM records", "description": "Contact details of customers used for billing and support", "ownerMemberId": "mem_abc123", "reviewerMemberId": "mem_def456", "dataType": "personal", "classification": "public", "hostProvider": "AWS", "vendorId": "vnd_abc123", "location": "eu-west-1", "retention": "7 years after contract end", "legalBasis": "Contract" }'

Records a data asset with its owner, data type, classification, hosting provider or vendor, region, retention period and legal basis.

X-Organization-Id
string
Media typeapplication/json
object
name
required

Name of the data asset

string

Example

Customer CRM records
description

What the data is and why it is processed

string

Example

Contact details of customers used for billing and support
ownerMemberId

Member ID of the accountable owner (null clears it)

object

Example

mem_abc123
reviewerMemberId

Member ID of the periodic reviewer (null clears it)

object

Example

mem_def456
dataType

Kind of data held

string
Allowed values: personal sensitive_personal financial health credentials intellectual_property operational public
classification

Data classification level

string
Allowed values: public internal confidential restricted
hostProvider

Hosting provider as free text

string

Example

AWS
vendorId

Vendor ID that hosts this data (null clears it)

object

Example

vnd_abc123
location

Storage location or region

string

Example

eu-west-1
retention

Retention period

string

Example

7 years after contract end
legalBasis

Legal basis for processing

string

Example

Contract