update_metric_threshold
Adjust the threshold for a code quality metric in a DeepSource project to tighten or relax standards.
Instructions
Update the threshold for a specific quality metric
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | DeepSource project key to identify the project | |
| repositoryId | Yes | Repository GraphQL ID | |
| metricShortcode | Yes | Code for the metric to update | |
| metricKey | Yes | Context key for the metric | |
| thresholdValue | No | New threshold value, or null to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| projectKey | Yes | ||
| metricShortcode | Yes | ||
| metricKey | Yes | ||
| thresholdValue | No | ||
| message | Yes | ||
| next_steps | Yes |