workspaces

Delete Workspace

Changed on

Delete a workspace and its data.

Only the workspace the request is scoped to (the X-Tenant-Id header, or the API key's workspace) can be deleted; any other ID returns 403. Requires the workspace delete permission.

delete/api/v1/workspaces/{workspace_id}

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/workspaces/{workspace_id}
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

workspace_idstring uuid required

Response

Successful Response

unknown required

Changes

    • info

      added the non-success response with the status

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status