- HTTP request
 - Path parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - Try it!
 
Full name: projects.locations.instances.legacyPlaybooks.legacyRestoreWorkflowDefinition
legacyPlaybooks.legacyRestoreWorkflowDefinition restores workflow definition.
HTTP request
Path parameters
| Parameters | |
|---|---|
instance | 
                
                   
 Required. The instance to restore the workflow definition for. Format: projects/{project}/locations/{location}/instances/{instance}  | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{ "restoreWorkflowIdentifier": string, "restoreComment": string, "isOverride": boolean }  | 
                
| Fields | |
|---|---|
restoreWorkflowIdentifier | 
                  
                     
 Required. The identifier of the workflow to restore the workflow definition for.  | 
                
restoreComment | 
                  
                     
 Required. The comment to restore the workflow with.  | 
                
isOverride | 
                  
                     
 Optional. Indicates if the restore should override the current workflow.  | 
                
Response body
If successful, the response body contains an instance of ApiWorkflowDefinitionDataModel.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacyPlaybooks.update
For more information, see the IAM documentation.