Skip to main content
PUT
EnterpriseブループリントのYAML内容を置き換える

権限

Enterprise レベルの ManageAccountSnapshots 権限を持つサービスユーザーが必要です。

動作

Enterprise ブループリントのYAMLの内容を置き換えます。ビルドは自動的にはトリガーされません。

承認

Authorization
string
header
必須

サービスユーザーの認証情報(接頭辞: cog_)

パスパラメータ

blueprint_id
string
必須

ボディ

application/json
contents
string
必須

ブループリントの新しい YAML 本文。

レスポンス

成功レスポンス

公開 Blueprint リソースの形式。

注: type 列挙型には今後値が追加される可能性があります。クライアントは未知の値を必ず適切に処理する必要があります。YAML内容は GET /blueprints/{id}/contents で別途取得します。

blueprint_id
string
必須
created_at
integer
必須
repo_name
string | null
必須
type
enum<string>
必須
利用可能なオプション:
enterprise,
org,
repo
updated_at
integer
必須