Update Shared Step
update_shared_stepUpdate an existing shared step in Allure TestOps, propagating changes to all test cases that use it. Modify optional fields like name or description while keeping omitted fields unchanged.
Instructions
Update an existing shared step. ⚠️ CAUTION: Destructive.
⚠️ IMPORTANT: Changes propagate to ALL test cases using this shared step.
Only provided fields will be updated. Omitted fields remain unchanged. Repeated calls with the same data are idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the shared step (optional). | |
| confirm | No | Must be set to True to proceed with update. Safety measure. | |
| step_id | Yes | The shared step ID to update (required). | |
| project_id | No | Optional override for the default Project ID. | |
| description | No | New description (optional). | |
| output_format | No | Output format: 'json' (default) or 'plain'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| name | No | ||
| action | No | Requested operation name. | |
| changed | No | ||
| step_id | No | ||
| updated_fields | No | ||
| requires_confirmation | No |