Skip to navigation

Pin the org to a specific successful build

Pin a successful build (less than 7 days old).

Translates the SDK’s 400 errors into 409 (per spec: “409 if the build is not succeeded, or older than 7 days”).

Authentication

AuthorizationBearer

Personal API Key (apk_user_) or Service API Key (apk_)

Path parameters

build_idstringRequired
org_idstringRequired

Request

This endpoint expects an object.

Response

Successful Response
build_idstring
completed_atinteger or null
created_atinteger
pinnedboolean
started_atinteger or null
statusenum
Allowed values:
triggerenum or null
Allowed values:
triggered_by_user_idstring or null
updated_atinteger

Errors

422
Unprocessable Entity Error