IOrganizationAutomationService
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
This service provides access to organization-wide automations for centralized automation management. It allows managing automations across all workspaces within the organization.
export interface IOrganizationAutomationService
Methods
Method | Description |
|---|---|
(ALPHA) Delete automation from any workspace within the organization | |
(ALPHA) Delete multiple automations across workspaces for centralized management Deletes multiple automations identified by their IDs from any workspace within the organization. | |
(ALPHA) List automations across the organization for centralized management | |
(ALPHA) Pause automation from any workspace within the organization | |
(ALPHA) Pause multiple automations across workspaces for centralized management Pauses multiple automations identified by their IDs from any workspace within the organization. | |
(ALPHA) Resume automation from any workspace within the organization | |
(ALPHA) Resume multiple automations across workspaces for centralized management Resumes multiple automations identified by their IDs from any workspace within the organization. | |
(ALPHA) Unsubscribe from automation from any workspace within the organization | |
(ALPHA) Unsubscribe from multiple automations across workspaces for centralized management Unsubscribes from multiple automations identified by their IDs from any workspace within the organization. |
Method details
IOrganizationAutomationService.deleteAutomation()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Delete automation from any workspace within the organization
deleteAutomation(id: string, workspaceId: string): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | id of the automation |
workspaceId | string |
Returns
Promise<void>
Promise resolved when the automation is deleted.
IOrganizationAutomationService.deleteAutomations()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Delete multiple automations across workspaces for centralized management
Deletes multiple automations identified by their IDs from any workspace within the organization.
deleteAutomations(automations: Array<{
id: string;
workspaceId: string;
}>): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
automations | Array<{ id: string; workspaceId: string; }> |
Returns
Promise<void>
Promise resolved when the automations are deleted.
IOrganizationAutomationService.getAutomationsQuery()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
List automations across the organization for centralized management
getAutomationsQuery(options?: IGetAutomationsQueryOptions): IOrganizationAutomationsQuery;
Parameters
Parameter | Type | Description |
|---|---|---|
options | (Optional) specify additional options |
Returns
methods for querying organization automations
IOrganizationAutomationService.pauseAutomation()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Pause automation from any workspace within the organization
pauseAutomation(id: string, workspaceId: string): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | id of the automation |
workspaceId | string | id of the workspace containing the automation |
Returns
Promise<void>
Promise resolved when the automation is paused.
IOrganizationAutomationService.pauseAutomations()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Pause multiple automations across workspaces for centralized management
Pauses multiple automations identified by their IDs from any workspace within the organization.
pauseAutomations(automations: Array<{
id: string;
workspaceId: string;
}>): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
automations | Array<{ id: string; workspaceId: string; }> |
Returns
Promise<void>
Promise resolved when the automations are paused.
IOrganizationAutomationService.resumeAutomation()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Resume automation from any workspace within the organization
resumeAutomation(id: string, workspaceId: string): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | id of the automation |
workspaceId | string | id of the workspace containing the automation |
Returns
Promise<void>
Promise resolved when the automation is resumed.
IOrganizationAutomationService.resumeAutomations()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Resume multiple automations across workspaces for centralized management
Resumes multiple automations identified by their IDs from any workspace within the organization.
resumeAutomations(automations: Array<{
id: string;
workspaceId: string;
}>): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
automations | Array<{ id: string; workspaceId: string; }> |
Returns
Promise<void>
Promise resolved when the automations are resumed.
IOrganizationAutomationService.unsubscribeAutomation()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Unsubscribe from automation from any workspace within the organization
unsubscribeAutomation(id: string, workspaceId: string): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | id of the automation |
workspaceId | string | id of the workspace containing the automation |
Returns
Promise<void>
Promise resolved when unsubscribed from the automation.
IOrganizationAutomationService.unsubscribeAutomations()methodAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Unsubscribe from multiple automations across workspaces for centralized management
Unsubscribes from multiple automations identified by their IDs from any workspace within the organization.
unsubscribeAutomations(automations: Array<{
id: string;
workspaceId: string;
}>): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
automations | Array<{ id: string; workspaceId: string; }> | Array of automation objects with id and workspaceId |
Returns
Promise<void>
Promise resolved when unsubscribed from the automations.