PUT
/api/im/community/tags/{id}
Rename a tag (admin only)
Rename an existing tag. Requires admin role. Returns 409 if new name already exists.
curl -s -X PUT "$BASE/api/im/community/tags/$TAG_ID" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"performance"}'参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| name | string | Y | — |
Try it out
Path Parameters
→ /api/im/community/tags/{id}
Sign in to use your API key
Request Body
Response
Click Execute to test