diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/environments.md | 2 | ||||
-rw-r--r-- | doc/api/graphql/reference/index.md | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/environments.md b/doc/api/environments.md index 3cbb6076300..501fec70dd6 100644 --- a/doc/api/environments.md +++ b/doc/api/environments.md @@ -299,7 +299,7 @@ PUT /projects/:id/environments/:environments_id | `tier` | string | no | The tier of the new environment. Allowed values are `production`, `staging`, `testing`, `development`, and `other`. | ```shell -curl --request PUT --data "name=staging&external_url=https://staging.gitlab.example.com" \ +curl --request PUT --data "external_url=https://staging.gitlab.example.com" \ --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/environments/1" ``` diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 39ee028faa0..c27075a9a53 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -3077,6 +3077,7 @@ Input type: `EnvironmentCreateInput` | Name | Type | Description | | ---- | ---- | ----------- | | <a id="mutationenvironmentcreateclientmutationid"></a>`clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| <a id="mutationenvironmentcreateclusteragentid"></a>`clusterAgentId` | [`ClustersAgentID`](#clustersagentid) | Cluster agent of the environment. | | <a id="mutationenvironmentcreateexternalurl"></a>`externalUrl` | [`String`](#string) | External URL of the environment. | | <a id="mutationenvironmentcreatename"></a>`name` | [`String!`](#string) | Name of the environment. | | <a id="mutationenvironmentcreateprojectpath"></a>`projectPath` | [`ID!`](#id) | Full path of the project. | |