# cancel_training_run

Cancel an in-flight training run and release any reserved Creative Units.

Only runs that are initializing or running can be canceled. Errors:  
training-run-not-found, invalid-status (run already finished).

## Parameters

| Parameter                 | Type          | Default | Description                 |
| ------------------------- | ------------- | ------- | --------------------------- |
| training\_run\_idrequired | string (uuid) | —       | The training run to cancel. |
| workspace\_idrequired     | string (uuid) | —       | The user's workspace ID.    |
