Disables a workflow and sets the state of the workflow to disabled_manually. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the actions:write permission to use this endpoint.
Request
Path Params
Responses
🟢204Response
application/json
Bodyapplication/json
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT '/repos///actions/workflows//disable'