Skip to main content
PATCH
/
api
/
v2
/
workspaces
/
{id}
/
update
/
Update a workspace
curl --request PATCH \
  --url https://paradigm.lighton.ai/api/v2/workspaces/{id}/update/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "id": 123,
  "name": "<string>",
  "workspace_type": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "summaries": [
    {
      "language": "en",
      "summary": "<string>"
    }
  ],
  "collections": [
    {
      "id": 123,
      "name": "<string>",
      "collection_type": "<string>"
    }
  ],
  "members": [
    {
      "id": 123,
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
integer
required

The unique identifier of the workspace.

Body

name
string
description
string

Response

Successful response

id
integer
required
name
string
required
workspace_type
string
required
description
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
summaries
object[]
required
collections
object[]
required
members
object[]
required
I