Deletes an external store.
Request syntax
DELETE /externalstores/<external_store_name>
'Content-Length': '0',
'x-log-bodyrawsize': '0',
'x-log-apiversion': '0.6.0',
'x-log-signaturemethod': 'hmac-sha1',
'Host': 'ali-yunlei-chengdu.cn-chengdu.log.aliyuncs.com',
'Date': 'Thu, 19 Apr 2018 03:32:49 GMT',
'Authorization': 'LOG <yourAccessKeyId>:<yourSignature>'
Request parameters
- Request headers
The DeleteExternalStore operation does not have operation-specific request headers. For information about the common request headers of Log Service API operations, see Common request headers.
- Parameters
Parameter Type Required Example Description external_store_name string Yes rds_store The name of the external store that you want to delete.
Response parameters
- Response headers
The DeleteExternalStore API operation does not have operation-specific response headers. For information about the common response headers of Log Service API operations, see Common response headers.
- Response element
The HTTP status code
200
is returned.
Examples
- Sample requests
DELETE http://ali-yunlei-chengdu.cn-chengdu.log.aliyuncs.com:80/externalstores/rds_store 'Content-Length': '0', 'x-log-bodyrawsize': '0', 'x-log-apiversion': '0.6.0', 'x-log-signaturemethod': 'hmac-sha1', 'Host': 'ali-yunlei-chengdu.cn-chengdu.log.aliyuncs.com', 'Date': 'Thu, 19 Apr 2018 03:32:49 GMT', 'Authorization': 'LOG <yourAccessKeyId>:<yourSignature>'
- Sample success responses
HTTP/1.1 200 OK Header { 'date': 'Mon, 09 Nov 2015 07:45:30 GMT', 'connection': 'close', 'x-log-requestid': '56404F1A99248CA26C002180', 'content-length': '0', 'server': 'nginx/1.6.1' }
Error codes
HTTP status code | Error code | Error message | Description |
400 | ProjectAlreadyExist | Project {project} already exists. | The error message returned because the specified project already exists. |
400 | ParameterInvalid | The body is not valid json string. | The error message returned because a parameter value is invalid. |
500 | InternalServerError | Specified Server Error Message. | The error message returned because an internal server error has occurred. |
For more information about the error codes, see Error codes.