Removes a directory from the left-side navigation pane of DataAnalysis.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UmountDirectory | The operation that you want to perform. Set the value to UmountDirectory. |
TargetType | String | No | META_ALBUM | The type of the directory that you want to remove from the left-side navigation pane of DataAnalysis. Example: META_ALBUM, which indicates the data album. |
TargetId | String | No | album.339 | The ID of the directory that you want to remove from the left-side navigation pane of DataAnalysis. This parameter is used together with the TargetType parameter. For example, if you set the TargetType parameter to META_ALBUM, you must set the TargetId parameter to the ID of the related data album. You can call the ListMetaCollections operation to obtain the ID of the data album. The ID is indicated by the QualifiedName parameter. |
TargetUserId | String | No | 1234567890 | The ID of the specified user in the tenant.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 0bc5aa2716455247597991794e65bd | The ID of the request. You can use the ID to troubleshoot issues. |
HttpStatusCode | Integer | 200 | The HTTP status code returned. The value 200 indicates that the request was successful. |
Data | Integer | 1 | The number of directories that are removed. Valid values:
|
ErrorMessage | String | You have no permission. | The error message returned if the request failed. |
Success | Boolean | true | Indicates whether the request was successful. Valid values:
|
ErrorCode | String | 200 | The error code returned. The value 200 indicates that the remove task is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=UmountDirectory
&TargetType=META_ALBUM
&TargetId=album.339
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UmountDirectoryResponse>
<RequestId>0bc5aa2716455247597991794e65bd</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>1</Data>
<ErrorMessage>You have no permission.</ErrorMessage>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</UmountDirectoryResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "0bc5aa2716455247597991794e65bd",
"HttpStatusCode" : 200,
"Data" : 1,
"ErrorMessage" : "You have no permission.",
"Success" : true,
"ErrorCode" : 200
}
Error codes
For a list of error codes, see Service error codes.