UpdateConnector

更新时间:
复制 MD 格式

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 AliyunBailianDataFullAccess policy, which includes the sfm:UpdateConnector permission, 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.

Throttling: If you call this operation too frequently, the system may throttle your requests. Do not exceed a frequency of 5 calls per second. If a request is throttled, try again later.

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

PUT /{WorkspaceId}/datacenter/connector/{ConnectorId} HTTP/1.1

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

{
  "Code": "Index.Forbidden",
  "Data": {
    "ConnectorId": "conn_file_e0c9db4030b2465a9478028f7d76cd92_1234"
  },
  "Message": "Required parameter(%s) missing or invalid, please check the request parameters.",
  "RequestId": "778C0B3B-03C1-5FC1-A947-36EDD13606AB",
  "Status": "200",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.