Middleware - OBSDelete
This system keyword is used for deleting OBS files based on a specified key.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Access Key ID |
Yes |
String |
OBS AK (This personal information must be defined as sensitive in the environment parameters.) |
Secret Access ID |
Yes |
String |
OBS SK (This personal information must be defined as sensitive in the environment parameters.) |
Rest Endpoint |
Yes |
String |
OBS endpoint |
Bucket Name |
Yes |
String |
OBS bucket name |
Key |
Yes |
String |
OBS file path |
OBSDelete Response
Status: success
Parameter |
Type |
Description |
---|---|---|
result |
String |
If the setting is successful, OK is returned. |
key |
String |
OBS file path |
Status: failed
Parameter |
Type |
Description |
---|---|---|
result |
String |
Failed |
errorMessage |
String |
Failure cause |
OBSDelete Response Example
{ "result" : "ok", "key" : "/key" }
OBSDelete Usage Example
Delete data based on the key1/key2 path.
Check whether the setting is successful.
Feedback
Was this page helpful?
Provide feedbackFor any further questions, feel free to contact us through the chatbot.
Chatbot