Liftbay
API referenceUpdates

Set the update signing certificate

PUT
/v1/orgs/{org}/projects/{project}/updates/signing

Stores the public certificate apps verify updates with (liftbay update signing init does this). The private key stays with you: noUpdateSignature proves you hold it. Replacing the certificate means apps built with the old one reject new updates until rebuilt.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

Request Body

application/json
  1. body
certificatePem*string
Lengthlength <= 10000
keyId?string
Match^[A-Za-z0-9_-]{1,32}$
Default"main"
noUpdateSignature*string
Length1 <= length <= 2048

Response Body

OK

application/json
  1. response
keyId*string
fingerprint*string

SHA-256 of the certificate (DER), hex

expiresAt*string
certificatePem*string
createdAt*string
curl -X PUT "https://example.com/v1/orgs/string/projects/string/updates/signing" \  -H "Content-Type: application/json" \  -d '{    "certificatePem": "string",    "noUpdateSignature": "string"  }'
{  "keyId": "string",  "fingerprint": "string",  "expiresAt": "string",  "certificatePem": "string",  "createdAt": "string"}