router/api-router.go:405。controller.BatchDeleteModelMeta,controller/model_meta.go:222。model:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/models/delete' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model_ids": [
0
],
"remove_from_channels": true,
"remove_pricing": true,
"property1": "string",
"property2": "string"
}'{
"success": true,
"message": "string",
"data": {
"deleted_count": 0,
"updated_channels": 0,
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}