Skip to content

Update group

PUT
/v2/document/group/{groupId}

Update a specific group based on the provided data

groupId
required
string
d24d70a9-e1e2-4e83-ac81-cf62c2cb4c09

A group Id

object
name
required

The group name

string
description

The group description

string

The resource has been successfully updated.

object
id
required

A group Id

string format: uuid
name
required

A group name

string
description

A group description

string
status
required

The status of the group

string
Allowed values: ACTIVE ARCHIVED
ACTIVE
providerModelId

The provider model id

string format: uuid
documentIds
required

The document ids

Array<string>
templateId
required

The prompts template id

string format: uuid

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error