All Products
Search
Document Center

App Streaming:UpdateModelProviderTemplate

Last Updated:Jun 17, 2026

Updates a model provider template.

Operation description

You can update a model provider template that has been created in the Wuying Agent Management Center, including the template name, description, model service connection configuration, and Wuying security proxy switch. Partial field updates are supported. You only need to pass in the fields that you want to modify.

Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ProviderTemplateId

string

Yes

The ID of the model provider template.

mpt-xxxx

Name

string

No

The name of the model provider template.

阿里云百炼

Description

string

No

The description of the model provider template.

阿里云百炼服务商

Config

object

No

The model provider configuration.

BaseUrl

string

No

The base URL of the model service API.

https://dashscope.aliyuncs.com/compatible-mode/v1

ApiKey

string

No

The API key of the model service, which is used for authentication. The key is encrypted after it is created.

sk-xxxxxxxxxxxxxxxxxxxx

ApiType

string

No

The API protocol type.

openai-completions

EnableWuyingProxy

boolean

No

Specifies whether to enable the Wuying security gateway proxy.

Valid values:

  • true :

    yes.

  • false :

    no.

true

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Success response

JSON format

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.