All Products
Search
Document Center

Data Management:DeleteLakeHouseSpace

Last Updated:Oct 21, 2024

Deletes a workspace.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SpaceIdlongYes

The ID of the workspace. You can call the GetLhSpaceByName operation to obtain the workspace ID.

24
TidlongNo

The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.

3***

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

E76DD2E7-EBAC-5724-B163-19AAC233F8F2
ErrorCodestring

The error code returned if the request fails.

NoPermission
ErrorMessagestring

The error message returned if the request fails.

You are not authorized to perform this operation.
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "E76DD2E7-EBAC-5724-B163-19AAC233F8F2",
  "ErrorCode": "NoPermission",
  "ErrorMessage": "You are not authorized to perform this operation.",
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history