Deleting a Shared Link
Function
This API is used to delete a shared link.
URI
DELETE /v3/{project_id}/connections/share
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. To obtain this value, see Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
X-Language |
No |
String |
Language. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
shared_conn_id |
Yes |
String |
ID of a shared link. |
users |
Yes |
Array of ShareConnUserInfo objects |
User. |
Response Parameters
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum length: 8 Maximum length: 36 |
error_msg |
String |
Error message. Minimum length: 2 Maximum length: 512 |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. Minimum length: 8 Maximum length: 36 |
error_msg |
String |
Error message. Minimum length: 2 Maximum length: 512 |
Example Requests
Deleting a shared link
DELETE https://{{endpoint}}/v3/{{project_id}}/connections/share { "users" : [ { "user_id" : "0852a89ae180d5401f5ac00271a4a02e", "user_name" : "username1" }, { "user_id" : "07da4af00180d5651f49c00200b352b5", "user_name" : "username2" } ], "shared_conn_id" : "ee64e597-4f25-486f-bba1-0c850b3b59d6" }
Example Responses
None
Status Code
Status Code |
Description |
---|---|
200 |
Success. |
400 |
Bad request. |
500 |
Internal server error. |
Error Code
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