Skip to content

Update a resource group

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

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.

id
required
One of:
string

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

key
required
string

The key of the resource group

Media type application/json
object
process_mode

The process mode of the resource group

string
nullable
Allowed values: unordered oldest_first newest_first newest_ready_first

OK

Media type application/json
object
id
integer format: int64
key
string
process_mode
string
created_at
string format: date-time
updated_at
string format: date-time
Example
{
"id": 1,
"key": "production",
"process_mode": "unordered",
"created_at": "2021-09-01T08:04:59.650Z",
"updated_at": "2021-09-01T08:04:59.650Z"
}

Bad request

Unauthorized

Not found