Update the status of an Execution to `ended`
Executions of Studio flows
Update the status of an Execution to ended
.
Path parameters
-
The SID of the Flow with the Execution resources to update.
-
The SID of the Execution resource to update.
POST /v2/Flows/{FlowSid}/Executions/{Sid}
curl \
-X POST https://studio.twilio.com/v2/Flows/{FlowSid}/Executions/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Status=active'
Request example
{
"Status": "active"
}
Request examples
{
"Status": "active"
}
Response examples (200)
{
"account_sid": "string",
"contact_channel_address": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"flow_sid": "string",
"links": {},
"sid": "string",
"status": "active",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"contact_channel_address": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"flow_sid": "string",
"links": {},
"sid": "string",
"status": "active",
"url": "https://example.com"
}