• Workspace

workspace
  1. Help Center
  2. Workspace
  3. API Reference
  4. Desktop Tags
  5. Deleting Desktop Tags

Deleting Desktop Tags

Function

This interface is used to delete desktop tags. If the tag to be deleted does not exist, the deletion is successful by default.

URI

  • URI format

    DELETE /v1.0/{project_id}/workspace/{desktop_id}/tags/{key}

  • URI parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    string

    Specifies the user ID.

    desktop_id

    Yes

    String

    Specifies the desktop ID.

    key

    Yes

    string

    Specifies the tag key.

Request

  • Request example
    DELETE /v1.0/9c53a566cb3443ab910cf0daebca90c4/workspace/8e07d3e9-454e-4fc9-ba56-c631d05c4712/key1

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.