# \TriggerApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**cancel_suspended_trigger_jobs**](TriggerApi.md#cancel_suspended_trigger_jobs) | **POST** /w/{workspace}/trigger/{trigger_kind}/cancel_suspended_trigger_jobs/{trigger_path} | cancel all suspended jobs for a specific trigger
[**resume_suspended_trigger_jobs**](TriggerApi.md#resume_suspended_trigger_jobs) | **POST** /w/{workspace}/trigger/{trigger_kind}/resume_suspended_trigger_jobs/{trigger_path} | resume all suspended jobs for a specific trigger



## cancel_suspended_trigger_jobs

> String cancel_suspended_trigger_jobs(workspace, trigger_kind, trigger_path, cancel_suspended_trigger_jobs_request)
cancel all suspended jobs for a specific trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**trigger_kind** | [**JobTriggerKind**](.md) | The kind of trigger | [required] |
**trigger_path** | **String** | The path of the trigger (can contain forward slashes) | [required] |
**cancel_suspended_trigger_jobs_request** | Option<[**CancelSuspendedTriggerJobsRequest**](CancelSuspendedTriggerJobsRequest.md)> | Optional list of job IDs to cancel |  |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## resume_suspended_trigger_jobs

> String resume_suspended_trigger_jobs(workspace, trigger_kind, trigger_path, resume_suspended_trigger_jobs_request)
resume all suspended jobs for a specific trigger

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**trigger_kind** | [**JobTriggerKind**](.md) | The kind of trigger | [required] |
**trigger_path** | **String** | The path of the trigger (can contain forward slashes) | [required] |
**resume_suspended_trigger_jobs_request** | Option<[**ResumeSuspendedTriggerJobsRequest**](ResumeSuspendedTriggerJobsRequest.md)> | Optional list of job IDs to reassign |  |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

