ci_resource_groups

Update a resource group

Updates the properties for a specified resource group. It returns 200 if the resource group was successfully updated. In case of an error, a status code 400 is returned.

put/api/v4/projects/{id}/resource_groups/{key}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project owned by the authenticated user

keystring required

The key of the resource group

Request body

process_mode'unordered' | 'oldest_first' | 'newest_first' | 'newest_ready_first'

The process mode of the resource group

Response

Update a resource group

idinteger required
keystring required
process_modestring required
created_atstring date-time required
updated_atstring date-time required

Example response

{
  "id": 1,
  "key": "production",
  "process_mode": "unordered",
  "created_at": "2021-09-01T08:04:59.650Z",
  "updated_at": "2021-09-01T08:04:59.650Z"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.