post https://{hostname}/entityType.addAttribute
Adds an attribute to an entity type.This also adds the new attribute to all existing user profiles.
Recipes
Create an entity type attribute
Open Recipe
Response
Adds an attribute to an entity type.This also adds the new attribute to all existing user profiles.
xxxxxxxxxx
curl --request POST \
--url https://hostname/entityType.addAttribute \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded'
xxxxxxxxxx
46}
{
"schema": {
"attr_def": [
{
"description": "simple identifier for this entity",
"name": "id",
"type": "id"
},
{
"description": "globally unique identifier for this entity",
"name": "uuid",
"type": "uuid"
},
{
"description": "when this entity was created",
"name": "created",
"type": "dateTime"
},
{
"description": "when this entity was last updated",
"name": "lastUpdated",
"type": "dateTime"
},
{
"case-sensitive": false,