環境グループ作成

Prev Next
Post
/api/environment_groups

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

Security
API Key: ApiKeyAuth
Header parameter nameAuthorization

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

Body parameters
object
name
string Required

環境グループ名

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

メモ

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

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

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が不正です。