Path parameters
-
The SID of the Assistant that is the parent of the resource to update.
-
The Twilio-provided string that uniquely identifies the ModelBuild resource to update.
Body
-
UniqueName string
An application-defined string that uniquely identifies the resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the
sid
in the URL path to address the resource.
POST /v1/Assistants/{AssistantSid}/ModelBuilds/{Sid}
curl \
-X POST https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/ModelBuilds/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'UniqueName=string'
Request example
{
"UniqueName": "string"
}
Request examples
{
"UniqueName": "string"
}
Response examples (200)
{
"account_sid": "string",
"assistant_sid": "string",
"build_duration": 42,
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"error_code": 42,
"sid": "string",
"status": "enqueued",
"unique_name": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"assistant_sid": "string",
"build_duration": 42,
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"error_code": 42,
"sid": "string",
"status": "enqueued",
"unique_name": "string",
"url": "https://example.com"
}