AdminOperationResponse PauseBuild(ctx, buildID, optional)
This API pauses a build so that tasks based on this engine build will not run.
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| buildID | string | ID of Build | |
| optional | *PauseBuildOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a PauseBuildOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| buildState | optional.String | Filter builds by the build state | |
Return type
AdminOperationResponse
Authorization
api_key
HTTP request headers
- Content-Type: Not defined
- Accept: application/json