Create or update a user property.
curl --request PUT \
--url http://localhost:3001/api/admin/user-properties/ \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"workspaceId": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"name": "<string>"
}'
{
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"createdAt": 123,
"definitionUpdatedAt": 123
}
Default Response
The response is of type object
.
curl --request PUT \
--url http://localhost:3001/api/admin/user-properties/ \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"workspaceId": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"name": "<string>"
}'
{
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"createdAt": 123,
"definitionUpdatedAt": 123
}
Create or update a user property.
curl --request PUT \
--url http://localhost:3001/api/admin/user-properties/ \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"workspaceId": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"name": "<string>"
}'
{
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"createdAt": 123,
"definitionUpdatedAt": 123
}
Default Response
The response is of type object
.
curl --request PUT \
--url http://localhost:3001/api/admin/user-properties/ \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"workspaceId": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"name": "<string>"
}'
{
"id": "<string>",
"workspaceId": "<string>",
"name": "<string>",
"definition": {
"type": "Id"
},
"exampleValue": "<string>",
"updatedAt": 123,
"lastRecomputed": 123,
"createdAt": 123,
"definitionUpdatedAt": 123
}