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}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
uuid |
Yes |
String |
Definition: Endpoint UUID. Constraints: N/A Value range: N/A Default value: N/A |
Request 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 |
Response Parameters
Status code: 200
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 |
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot