跳转到主要内容
POST
Rename a collection or change its description, emoji or visibility

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
collectionId
string<uuid>
必填
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
Required string length: 1 - 100
description
string | null
Maximum string length: 500
emoji
string | null
Maximum string length: 32
isPublic
boolean

响应

Successful response

success
boolean
必填