Deregisters a location.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dlf:DeregisterLocation | *All Resource
| None | None |
Request syntax
DELETE /webapi/locations HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
LocationId | string | Yes | The location ID. Note Call the RegisterLocation operation to obtain the location ID. | LOC-AB8FBC17F95A4AF5 |
Response elements
Element | Type | Description | Example |
object | The result of the deregistration. | ||
RequestId | string | The request ID. | E47920CD-BAE6-1305-88DF-FBDD3D300845 |
Success | boolean | Indicates whether the request is successful. Valid values:
| true |
| Data | object | The returned data. | |
LocationId | string | The location ID. | LOC-AB8FBC17F95A4AF5 |
| StorageCollectTaskOperationResultList | array | The results for the shutdown of collection tasks. | |
The result of the shutdown of a collection task. |
Examples
Success response
JSON format
{
"RequestId": "E47920CD-BAE6-1305-88DF-FBDD3D300845",
"Success": true,
"Data": {
"LocationId": "LOC-AB8FBC17F95A4AF5",
"StorageCollectTaskOperationResultList": [
{
"Success": true,
"TaskId": "",
"TaskType": "",
"DlfCreated": true,
"ErrCode": "",
"ErrMessage": ""
}
]
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.