identityPut
Handles create
or update
POST requests.
Creates a new or updates existing Identity in the storage.
Request format:
{
"token": "...", // only when updating
"core": { "field1": "value1", ... }
"records": {
"recordType1": record1,
...
}
}
Content copied to clipboard
When updating, new data is merged with existing one, see IdentityData.merge for details.
Response:
{
"token": "...."
}
Content copied to clipboard