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