state of the workflow to disabled_manually. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.repo scope to use this endpoint.curl --location --request PUT 'https://service1.exmaple.com/repos///actions/workflows//disable'