Rename a project or change its default idle time

Changes the name or the default idle time of sandboxes made from now on; sandboxes already made keep theirs.

PATCH/v1/projects/{project_id}

Changes the name or the default idle time of sandboxes made from now on; sandboxes already made keep theirs. A key changes its own project; a person changes a project their role reaches.

A key with the projects:write scope.

Request

curl -X PATCH "https://api.pod.mapier.ai/v1/projects/prj_3ahrz6dmv29gqy5ckt18fp" \
  -H "Authorization: Bearer $POD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"example"}'

Parameters

NameInTypeRequiredWhat it is
project_idpathstringYes
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Body

FieldTypeRequiredWhat it is
namestringNo
idle_sintegerNoAt least 60.

Answer

200. The project as changed.

200
{
  "id": "prj_3ahrz6dmv29gqy5ckt18fp",
  "organisation": "org_3ahrz6dmv29gqy5ckt18fp",
  "name": "example",
  "idle_s": 60,
  "created_at": "2026-11-23T12:00:00.000Z",
  "cell_endpoint": "https://app.example.com"
}
FieldTypeAlwaysWhat it is
idstringYes
organisationstringYes
namestringYes
idle_sintegerYesThe default idle time of the project's sandboxes. At least 60.
created_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
cell_endpointstringNoPresent only when the project is bound to a cell in the customer's own cloud account: the cell's endpoint, where its sandbox calls go. Pod's front door answers them in_other_cell. The dashboard's page fetches the project's sandboxes and screens from it in the browser (getCell).

Errors

The refusals this call is known for: invalid, forbidden, not_found, conflict. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.projects.update(id, { … })
Pythonpod.projects.update(id, …)