Replace tags for a prompt
Replaces the full tag list for a specific prompt. Creates new project-level tags as needed.
PUT /settings/tags
Replace tags for a prompt
Replaces the full tag list for a specific prompt. Creates new project-level tags as needed.
Authentication: API key required (Bearer token)
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
projectPromptId | string | Yes | Project prompt ID to update. |
tags | array | Yes | Complete tag list that replaces existing tags for this prompt. |
Request Example
curl -X PUT https://sellm.io/api/v1/settings/tags \
-H "Authorization: Bearer sellm_your_api_key_here" \
-H "Content-Type: application/json"
Responses
| Status | Description |
|---|---|
200 | Tags updated |
400 | Bad request |
401 | Unauthorized |
404 | Prompt not found |
429 | Rate limited |
500 | Internal error |