curl --request PATCH \
--url https://platform.thena.ai/v1/views/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "My View",
"description": "My View Description",
"configuration": {},
"isShared": true
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"teamId": "<string>",
"viewId": 123,
"name": "<string>",
"description": "<string>",
"configuration": {},
"viewsTypeId": "<string>",
"viewsType": "<string>",
"owner": "<string>",
"ownerId": "<string>",
"isShared": true,
"isPersonal": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
curl --request PATCH \
--url https://platform.thena.ai/v1/views/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "My View",
"description": "My View Description",
"configuration": {},
"isShared": true
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"teamId": "<string>",
"viewId": 123,
"name": "<string>",
"description": "<string>",
"configuration": {},
"viewsTypeId": "<string>",
"viewsType": "<string>",
"owner": "<string>",
"ownerId": "<string>",
"isShared": true,
"isPersonal": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Enter your API key
Operation successful
The response is of type object
.