Sources

Change a stored app login's metadata.

Any create field; null clears an optional one. A change that ADDS an origin (a new origin or extra origin) deletes every saved secret, so a stored login never follows the app to another site; a new loginMethod or headerKind deletes the secrets the old one used. Each removal is audited. A secret field is refused by name. Free. A story project is refused with 409 project_not_product (nothing is stored or started): app connections are for product projects. Listing, reading and deleting a story project's existing connections still work.

patch/story-projects/{projectId}/app-connections/{connectionId}

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/story-projects/{projectId}/app-connections/{connectionId}
  • Auth: HTTP bearer

Request body

originstring
labelstring nullable
extraOriginsstring[]
loginUrlstring nullable
loginMethod'form' | 'storageState' | 'provider' | 'none'
providerEndpointstring nullable

A new endpoint deletes the saved grant; leaving provider drops it.

loggedInWhenobject[] nullable
headerKind'none' | 'cloudflareAccess' | 'vercelBypass'
maskSelectorsstring[]
retentionDaysinteger nullable

Response

The changed connection.

Changes

No recorded changes to this operation across all 1 revision of this API.