Disables a model, vendor, or region and updates settings that use it.
Changed onDisables 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>
Request
- Base URLhttps://api.awork.com/api/v1
- URLhttps://api.awork.com/api/v1/agents/models/settings/disable
- AuthHTTP bearer
Request body
Response
No Content
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became required - breaking
the request property
became required - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning