Create Customer Data


                https://api.ocamba.com/v1/hood/customer-data
            

Creates a new Customer Data


Name
Description
pi_datanumber (integer)
Describes if the target will be PI sensitive. If so, the data that will be added to the key, when adding it as extra to users, will be encrypted.


Example: 1

Possible values: 0 | 1

targetstringrequired
A data key that will be used to add data to users as extra.


Example: data_key

201 - Created
Arrow

400 - Bad Request
Arrow

500 - Internal Server Error
Arrow
200 Arrow
{
    "target": "new-customer-target",
    "pi_data": 1
}
201 Arrow
{
  "id":"1025",
  "company_id":"6197120",
  "target": "new-customer-target",
  "pi_data": 1
}
{
  "code": 400,
  "title": "Bad request.",
  "message": "The request body is not valid.",
  "trace_id": "99a84211-f73d-4ff8-acdf-eb3e06bb9d62"
}
{
  "code": 500,
  "title": "Internal server error.",
  "message": "Internal server error."
}