Update Test Layer Schema
update_test_layer_schemaUpdate an existing test layer schema by providing its ID, modify its key, link a new test layer, and confirm changes to apply them.
Instructions
Update an existing test layer schema. ⚠️ CAUTION: Destructive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | New schema key. | |
| confirm | No | Must be set to True to proceed with update. Safety measure. | |
| schema_id | Yes | ID of the test layer schema to update. | |
| project_id | No | Allure TestOps project ID. | |
| output_format | No | Output format: 'json' (default) or 'plain'. | |
| test_layer_id | No | New test layer ID to link to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| key | No | ||
| action | No | Requested operation name. | |
| changed | No | ||
| schema_id | No | ||
| test_layer_name | No | ||
| requires_confirmation | No |