環境グループ更新

Prev Next
Patch
/api/environment_groups/{environment_group_id}

環境グループを更新します。
環境グループ更新にはアカウント管理者以上の権限が必要です。

Security
API Key: ApiKeyAuth
Header parameter nameAuthorization

認証キーとなるAPI KEYをAuthorization: Token {{API KEY}}の形式でヘッダーにセットします。
API KEYがabc123の場合は、Authorization: Token abc123とします。
API KEYの作成方法は、TROCCO API KEYの作成を参照ください。

Path parameters
environment_group_id
integer (int64) Required

環境グループID

Body parameters
object
name
string Required

環境グループ名

Exampleサンプル環境グループ
memo
string

メモ

Example# 環境グループのメモ この環境グループは本番環境用です。
Responses
200

更新した環境グループの詳細を返します。

object
id
integer (int64)

環境グループID

Example1
name
string

環境グループ名

Exampleサンプル環境グループ
memo
string | null

メモ

Example# 環境グループのメモ この環境グループは本番環境用です。
created_at
string

環境グループの作成日時

Example2023-08-23T03:00:00.000+09:00
updated_at
string

環境グループの更新日時

Example2023-08-23T03:00:00.000+09:00
400

Bad request.
不正なリクエストです。

401

Not authenticated or insufficient permissions.
環境グループ更新権限がないか、API KEYが不正です。

404

Not found.
指定した環境グループが存在しません。