• Workspace

workspace
  1. Help Center
  2. Workspace
  3. API Reference
  4. Desktop Dedicated Hosts
  5. Releasing Desktop Dedicated Hosts

Releasing Desktop Dedicated Hosts

Function

This interface is used to release a desktop dedicated host. The host cannot be restored after being released.

URI

  • URI format

    DELETE /v1.0/{project_id}/workspace-dedicated-hosts/{dedicated_host_id}

  • URI parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    string

    Specifies the user ID.

    dedicated_host_id

    Yes

    string

    Specifies the ID of a desktop dedicated host.

Request

  • Request example
DELETE /v1.0/29dfe82ada564ac2b927e1ff036d9a9b/workspace-dedicated-hosts/ ab910cf0daebca90c4001

Response

No response body

Returned Values

  • Normal

    204

  • Abnormal

    Returned Value

    Description

    400 Bad Request

    The request syntax is incorrect and cannot be understood by the server.

    401 Unauthorized

    Authentication fails.

    403 Forbidden

    You are not authorized to perform the operation.

    404 Not Found

    The requested resource is not found.

    405 Method Not Allowed

    The method specified in the request is not allowed.

    500 Internal Server Error

    Internal service error. For details about error codes, see Error Code Description.

    503 Service Unavailable

    The service is unavailable.