NAME

Twilio::Rest::Studio::V2::FlowValidate - The FlowValidate resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $flow_validate = $client->studio->v2->flow_validate->update($friendly_name, $status, $definition, \%options);

DESCRIPTION

Flow definition validator

This file holds FlowValidateList and FlowValidateInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

FlowValidateList

Returned by $client->studio->v2->flow_validate. See also Twilio::ListResource.

update

my $flow_validate = $client->studio->v2->flow_validate->update($friendly_name, $status, $definition, \%options);

Validate flow JSON definition. Returns a FlowValidateInstance.

The required values are:

$friendly_name

The string that you assigned to describe the Flow.

$status

One of draft or published.

$definition

JSON representation of flow definition. A hash or array reference, or a string of JSON.

The options are:

commit_message

Description of change made in the revision.

FlowValidateInstance

See also Twilio::InstanceResource.

Its fields are:

valid

Boolean if the flow definition is valid.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.