NAME

Twilio::Rest::PreviewIam::Versionless::Organization - The Organization resource

DESCRIPTION

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

OrganizationList

Returned by $client->preview_iam->versionless->organization. See also Twilio::ListResource.

get_context

my $context = $client->preview_iam->versionless->organization->get_context($organization_sid);

Returns a OrganizationContext, and makes no request.

OrganizationContext

Returned by $client->preview_iam->versionless->organization($organization_sid). It makes no request until one of these methods is called.

accounts

my $list = $object->accounts;

my $context = $object->accounts($account_sid);

See Twilio::Rest::PreviewIam::Versionless::Organization::Account.

role_assignments

my $list = $object->role_assignments;

my $context = $object->role_assignments($role_assignment_sid);

See Twilio::Rest::PreviewIam::Versionless::Organization::RoleAssignment.

users

my $list = $object->users;

my $context = $object->users($user_sid);

See Twilio::Rest::PreviewIam::Versionless::Organization::User.

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.