跳转到主要内容
POST
Attach an owned Home Assistant instance to a pending owner enrollment

授权

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
stack_id
string
必填
Minimum string length: 1
binding_ref
string
必填
Minimum string length: 1
url
string
必填
token_wallet_item_id
string
必填

Wallet item holding the Home Assistant long-lived access token.

Minimum string length: 1
lease_id
string

Managed guest lease; required for a new instance.

configure_granted
boolean
lifecycle_grants
object
dependency_assessment_ref
string
recovery_binding_ref
string
recovery_backup_operation_id
string
settings
object

响应

The instance was attached

data
object
meta
object