Updated on 2025-09-08 GMT+08:00

Updating a Service Endpoint

Function

This API is used to update a service endpoint.

Calling Method

For details, see Calling APIs.

URI

PUT /v1/serviceconnection/endpoints/{uuid}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

uuid

Yes

String

Definition:

Endpoint UUID.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

url

No

String

Definition:

Endpoint URL.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

name

No

String

Definition:

Endpoint name.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

authorization

No

EndpointAuthorizationBody object

Definition:

Permission information.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

data

No

Object

Definition:

Endpoint details.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

region_name

No

String

Definition:

Region name.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Table 3 EndpointAuthorizationBody

Parameter

Mandatory

Type

Description

parameters

No

Object

Definition:

Authentication parameter.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

scheme

No

String

Definition:

Authentication mode.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

error

ErrorInfo object

Definition:

Error message.

Value range:

N/A

result

Object

Definition:

Error result.

Value range:

N/A

status

String

Definition:

Status value.

Value range:

N/A

Table 5 ErrorInfo

Parameter

Type

Description

code

String

Definition:

Error code.

Value range:

N/A

message

String

Definition:

Error message.

Value range:

N/A

Status code: 201

Created

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

201

Created

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.