Update a browser extension

View as Markdown

Update customer-controlled browser extension metadata such as the display name.

Authentication

AuthorizationBearer
Use Bearer <api-key>.

Path parameters

extensionIdstringRequired5-64 characters
Unique browser extension identifier generated by BCTRL.

Headers

BCTRL-Subaccount-IdstringOptional
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.

Request

This endpoint expects an object.
namestringOptional1-200 characters

Customer-facing resource name. 1–200 characters.

Response

OK
createdAtdatetime
RFC 3339 timestamp with a UTC offset.
format"crx"
idstring5-64 characters
Unique browser extension identifier generated by BCTRL.
namestring1-200 characters

Customer-facing resource name. 1–200 characters.

profileCountinteger>=0

Non-negative whole-number count.

updatedAtdatetime
RFC 3339 timestamp with a UTC offset.
versionstring
contentHashstringOptional

SHA-256 digest encoded as 64 lowercase hexadecimal characters.

sizeBytesintegerOptional>=0

Non-negative number of bytes.

sourceUrlstringOptionalformat: "uri"
subaccountIdstringOptional1-64 characters
Opaque identifier for a BCTRL subaccount.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error