Update Resource
workmail_update_resource | R Documentation |
Updates data for the resource¶
Description¶
Updates data for the resource. To have the latest information, it must
be preceded by a describe_resource
call. The dataset in the request
should be the one expected when performing another describe_resource
call.
Usage¶
workmail_update_resource(OrganizationId, ResourceId, Name,
BookingOptions, Description, Type, HiddenFromGlobalAddressList)
Arguments¶
OrganizationId
[required] The identifier associated with the organization for which the resource is updated.
ResourceId
[required] The identifier of the resource to be updated.
The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:
Resource ID: r-0123456789a0123456789b0123456789
Email address: resource@domain.tld
Resource name: resource
Name
The name of the resource to be updated.
BookingOptions
The resource's booking options to be updated.
Description
Updates the resource description.
Type
Updates the resource type.
HiddenFromGlobalAddressList
If enabled, the resource is hidden from the global address list.
Value¶
An empty list.
Request syntax¶
svc$update_resource(
OrganizationId = "string",
ResourceId = "string",
Name = "string",
BookingOptions = list(
AutoAcceptRequests = TRUE|FALSE,
AutoDeclineRecurringRequests = TRUE|FALSE,
AutoDeclineConflictingRequests = TRUE|FALSE
),
Description = "string",
Type = "ROOM"|"EQUIPMENT",
HiddenFromGlobalAddressList = TRUE|FALSE
)