- API operations
- Rename a project
API operations
Rename a project
PATCH /v1/projects/{projectId} — projects.rename
PATCH
Operation projects.rename. Every operation.
Authorizations
apiCredential
required
string
Scoped API credential bound to one organization, project, and environment.
memberSession
required
string
A signed-in member's session token. Unlike a credential or an access token it carries no project or environment, so a request using it must also send the two headers below.
Greatwait-Environment
required
string
Which environment of that project the request acts in: `test` or `live`.
Greatwait-Project
required
string
Which project in the member's organization the request acts in. Checked against that organization; a project belonging to another answers exactly as one that does not exist.
Query Parameters
projectId
required
string
If-Match
required
string
Body
application/json
name
required
string
Required string length:
1 - 120Response
200
400
401
403
404
409
429
503
Rename a project
createdAt
required
string | null
deletionCounts
required
object
environmentKinds
required
string[]
id
required
string
name
required
string
Required string length:
1 - 120status
required
string
Available options:
active, archived version
required
integer
Required range:
-∞ <= x <= 9007199254740991