Skip to main content
POST
Ensure or revoke one declared owned Home Assistant connector on its node

授权

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.

请求头

Idempotency-Key
string
必填
Required string length: 1 - 200

路径参数

serviceId
string
必填

Canonical service runtime ID

请求体

application/json
expected_inventory_revision
integer<int64>
必填
必填范围: x >= 1
action
enum<string>
必填
可用选项:
ensure,
revoke
lifespan_days
integer
必填
必填范围: 1 <= x <= 365
owner_approved
enum<boolean>
必填
可用选项:
true

响应

Connector action queued or exact durable replay returned

data
object