Skip to main content
PATCH
Rename a project or set its IP allowlist

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

pid
string
required

Project id (UUID) belonging to the caller workspace.

Body

application/json
name
string

Applied only when it is a non-empty string of at most 80 characters; otherwise silently skipped.

Required string length: 1 - 80
ip_allowlist
string[] | null

Stored as JSON verbatim when an array, or cleared when null. This handler does NOT run the CIDR validator, unlike PATCH /admin/api/ip-allowlist.

Response

Updated.

ok
boolean
required