الانتقال إلى المحتوى الرئيسي
POST
Create a wallet item without secret values

التفويضات

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.

الجسم

application/json
name
string
مطلوب
Required string length: 1 - 200
kind
enum<string>

Defaults to other. Cannot be changed later.

الخيارات المتاحة:
password,
api_key,
ssh_key,
oauth_token,
certificate,
other
username
string
url
string
notes
string

Free text; never put credentials here.

stack_id
string

Stack (kit deployment) the item belongs to.

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 created 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