NAME
Twilio::Rest::FlexApi::V1::InsightsUserRoles - The InsightsUserRoles resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $insights_user_roles = $client->flex_api->v1->insights_user_roles->fetch;
DESCRIPTION
This file holds InsightsUserRolesContext and InsightsUserRolesInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
InsightsUserRolesContext
Returned by $client->flex_api->v1->insights_user_roles. It makes no request until one of these methods is called.
fetch
my $insights_user_roles = $client->flex_api->v1->insights_user_roles->fetch(\%options);
This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user. Returns a InsightsUserRolesInstance.
The options are:
-
The Authorization HTTP request header
InsightsUserRolesInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- roles
-
Flex Insights roles for the user
- url
-
No description in the specification.
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.