Updates a connector.
Operation description
- A RAM user can call this operation only after they join a workspace and are granted the required API permission for Alibaba Cloud Model Studio (Bailian). The
AliyunBailianDataFullAccesspolicy, which includes thesfm:UpdateConnectorpermission, is required. An Alibaba Cloud account can call this operation directly. Use the latest version of the Alibaba Cloud Model Studio (Bailian) SDK to call this operation. - This operation is not idempotent.
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 syntax
Path Parameters
Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | Yes | The ID of the workspace. | llm-3z7uw7fwz0vexxxx |
| ConnectorId | string | Yes | The instance ID of the connector. You can find this ID in the Model Studio console. | conn_xxxx |
Request parameters
Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ConnectorName | string | Yes | The name of the connector. | test-connector |
| Description | string | Yes | A description of the connector. | never_delete_aeip_95_us-west-1 |
Response elements
Element | Type | Description | Example |
|---|---|---|---|
object | The response object. | ||
| Code | string | The error code. | Index.Forbidden |
| Data | object | The data returned by the operation. | |
| ConnectorId | string | The ID of the connector. | conn_file_e0c9db4030b2465a9478028f7d76cd92_1234 |
| Message | string | The error message. | Required parameter(%s) missing or invalid, please check the request parameters. |
| RequestId | string | The ID of the request. | 778C0B3B-03C1-5FC1-A947-36EDD13606AB |
| Status | string | The status code of the response. | 200 |
| Success | boolean | Indicates whether the request was successful. | true |
Examples
Success response
JSON format