NAME
Twilio::Rest::Studio::V2::Flow::FlowTestUser - The FlowTestUser resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $flow_test_user = $client->studio->v2->flows($sid)->test_users->fetch;
$client->studio->v2->flows($sid)->test_users->update($test_users);
DESCRIPTION
Test users of a flow
This file holds FlowTestUserContext and FlowTestUserInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
FlowTestUserContext
Returned by $client->studio->v2->flows($sid)->test_users. It makes no request until one of these methods is called.
fetch
my $flow_test_user = $client->studio->v2->flows($sid)->test_users->fetch;
Fetch flow test users. Returns a FlowTestUserInstance.
update
my $flow_test_user = $client->studio->v2->flows($sid)->test_users->update($test_users);
Update flow test users. Returns a FlowTestUserInstance.
The required values are:
$test_users-
List of test user identities that can test draft versions of the flow. An array reference.
FlowTestUserInstance
See also Twilio::InstanceResource.
It has fetch and update, which work as they do on the context.
Its fields are:
- sid
-
Unique identifier of the flow.
- test_users
-
List of test user identities that can test draft versions of the flow.
- url
-
The URL of this resource.
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.