pub async fn repos_slash_disable_deployment_protection_rule(
configuration: &Configuration,
environment_name: &str,
repo: &str,
owner: &str,
protection_rule_id: i32,
) -> Result<(), Error<ReposSlashDisableDeploymentProtectionRuleError>>
Expand description
Disables a custom deployment protection rule for an environment. The authenticated user must have admin or owner permissions to the repository to use this endpoint. OAuth app tokens and personal access tokens (classic) need the repo
scope to use this endpoint.