الانتقال إلى المحتوى الرئيسي
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