Links

Update Event Template

Update event template with specified identifier.
patch
https://environment.lvis.io
/api/v2/event_templates/:event_template_id
Update Event Template

Example

Request
Response
cURL
// PATCH /api/v2/event_templates/2e9ddb8b-1ed0-4887-840a-9b37197a26e7
// Host: environment.lvis.io
// Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
// Content-Type: application/vnd.api+json
{
"data": {
"type": "event_templates",
"id": "126cd46d-02db-4369-84af-922cd0a8846b",
"attributes": {
"name": "Base Event Template",
"duration": 1800,
"settings": [
{
"key": "hold_prompt",
"values": {
"en": "On hold..."
}
},
{
"key": "number_of_users",
"values": {
"all" : 6
}
}
]
}
}
}
// Status: 204 No Content
curl --request PATCH \
--url https://environment.lvis.io/api/v2/event_templates/2e9ddb8b-1ed0-4887-840a-9b37197a26e7 \
--header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "event_templates",
"id": "126cd46d-02db-4369-84af-922cd0a8846b",
"attributes": {
"name": "Base Event Template",
"duration": 1800,
"settings": [
{
"key": "hold_prompt",
"values": {
"en": "On hold..."
}
},
{
"key": "number_of_users",
"values": {
"all" : 6
}
}
]
}
}
}'