Skip to main content
PATCH
Rename a project
Use this endpoint to rename a project.

What EDN does

Changes the project’s name and returns the updated project.

Required headers

Request

Path parameters

Body

Response

200 OK

Errors

See Error handling.

Authorizations

Authorization
string
header
required

Your EDN API key, sent as Bearer YOUR_API_KEY. Create keys in the Console.

Path Parameters

project_id
string
required

The project ID.

Body

application/json
name
string | null

The new name. Longer names are cut to 100 characters.

Example:

"Website relaunch 2027"

Response

Successful Response

created_at
string
required

When the project was created (ISO 8601, UTC).

id
string
required

The project ID. Pass it as project_id in other calls.

name
string
required

The project's name.

updated_at
string
required

When the project last changed (ISO 8601, UTC).

session_count
integer
default:0

How many sessions are in the project.

source_count
integer
default:0

How many documents the project has.