Disables a model, vendor, or region and updates settings that use it.
Disables a model, vendor, or region for the workspace and updates settings that use it.
Use the model settings in the awork app to review affected configurations and eligible replacements before disabling.
Specify the required replacement models in the request. Returns no content when the changes are saved.
<Check title="Required Permissions" icon="key">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
The disable and migration command.
resourceType
The resource type: model, vendor, or region.
resourceKey
The resource key.
replacements
One replacement mapping for every affected source model.
presetReplacements
One explicit replacement mapping for every affected preset.
confirmNoImageReplacement
Whether disabling affected image models without a replacement was confirmed.
Response
No Content
Errors
400
Bad Request Error
401
Unauthorized Error

