Skip to main content
POST

Authorizations

Authorization
string
header
required

A Modus personal access token (modus_<orgUuid>_<prefix>_<secret>) or an OAuth 2.1 access token, sent as Authorization: Bearer <token>.

Path Parameters

id
number
required

Numeric scope id.

Example:

42

Body

application/json
expectedMainShaOverride
string

SHA the SPA last saw the remote file at; lets the user force-push past a previous drift by acknowledging the version they are overwriting. Empty string is treated as absent.

Maximum string length: 200
Example:

"a1b2c3d4e5f607890123456789abcdef01234567"

Response

scope
object
required

The scope after the deploy. hasUnpublishedChanges is false and activeVariationId matches the newly-published variation.

deployedAt
string
required

Server-side timestamp at which the deploy completed.

Example:

"2026-05-11T10:00:00.000Z"