users.removeAutoForward()

When do not disturb is enabled, we can use the client.users.removeAutoForward() method to remove an auto forward recipient for an organization. The method returns true if the the auto forward recipient was successfully removed.

We can use client.users.setAutoForward() to enable the auto forward feature for an organization.

Definition

client.users.removeAutoForward(
organizationId: string,
):Promise<boolean,Error>

Parameters

ParameterTypeDescription
organizationIdstringOrganization from which to remove an auto forward recipient

Example

client.messages.removeAutoForward({
organizationId: "some-organization-id"
});