Team workspaces

Update a team collection

PATCH/api/v1/workspaces/{id}/collections/{collectionId}

Update the name, description or content of a team collection depending on the role.

Base URLhttps://llm-skills.com
AuthenticationBearer token
Access

Team workspace access and matching permissions.

Path params

idrequired
string

Team workspace id.

collectionIdrequired
string

Collection id.

Headers

Authorizationrequired
string

Bearer header containing an active API key.

Example: Bearer llms_api_keyConstraints: Create it from Profile > API keys. Keep it server side.

JSON body

skillSlugoptional
string

Add a public skill by slug.

workspaceSkillIdoptional
string

Add a private team skill.

JSON body
{
  "skillSlug": "code-review"
}

Request examples

cURL
curl "https://llm-skills.com/api/v1/workspaces/collection_id/collections/team_collection_id"
  -X PATCH
  -H "Authorization: Bearer llms_api_key"
  -H "Content-Type: application/json"
  -d '{ "skillSlug": "code-review"}'

Responses and errors

200SuccessReturns the updated team collection.
JSON
{
  "data": { "collection": { "id": "collection_id", "skills": [{ "slug": "code-review" }] } }
}
403Insufficient permissionRead-only access cannot update a collection.
JSON
{
  "error": "Votre accès est en lecture seule"
}
401Missing or invalid keyAuthorization header missing, malformed or revoked key.
JSON
{
  "error": "Invalid or revoked API key"
}
403Unauthorized accessThe current plan or permissions do not allow this route.
JSON
{
  "error": "API access is available with a plan that includes API access"
}