跳转到主要内容
PATCH
Update the metadata of a wallet item

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

路径参数

id
string
必填

Resource ID

请求体

application/json
name
string
Required string length: 1 - 200
username
string
url
string
notes
string

Free text; never put credentials here.

stack_id
string
service_id
string
expires_at
string<date-time>
item_class
enum<string>
可用选项:
launch,
user_account,
credential,
recovery,
machine_secret_ref,
manual
access_mode
enum<string>
可用选项:
open,
reveal,
manage
source_type
string
source_ref
string

响应

The updated item, redacted

data
object

Redacted wallet recovery item. secret and totp are never present in list responses; only the has_secret/has_totp presence flags are exposed. Additional metadata keys may be present.

meta
object