Ejento APIs
V1
  • V2
  • V1
  1. Project APIs
Ejento APIs
V1
  • V2
  • V1
  • Overview
  • Endpoints
    • Chat APIs
      • Run Chat
      • Create Custom Instructions
      • Add Comment Feedback
      • Add Upvote Feedback
      • Add Downvote Feedback
      • Get Chat Thread
      • Get Thought Process
      • Get Supporting Content
      • Get All Agent Threads
    • Agent APIs
      • Get Recent Agents
      • Add to Recent Agents
      • Delete Recent Agent
      • Get Starred Agents
      • Delete Starred Agents
      • Get Agents by Team or User Team
      • Create a Review for an Agent
      • Get Agent Reviews
      • Update an Agent Review
      • Delete an Agent Review
      • Create Agent Chat
      • Get Agent Ratings
      • Toggle Rating
      • Create Agent Alias
      • Get All Agent Alias
      • Update Agent Alias
      • Get Agent Access Level
      • Update Agent Access Level
      • Get All Agents by Project
      • Get Agent Types
      • Update Agent Type
      • Get User Agent or User Agent Permission
    • Project APIs
      • Create New Project
        POST
      • Get All Projects
        GET
      • Get Project Details by ID
        GET
      • Edit Project By ID
        PUT
      • Delete Project By ID
        DELETE
      • Add Recent Project
        POST
      • Get Recent Projects
        GET
      • Fetch Project Details
        POST
      • Add User to Project
        POST
      • Remove User from Project
        DELETE
      • Get User Projects For Team
        GET
    • Document APIs
      • Get Document By ID
      • Edit Document By ID
      • Delete Document By ID
    • Corpus APIs
      • Get All Corpus
      • Create Corpus
      • Get Corpus by ID
      • Edit Corpus
      • Delete Corpus
      • Get Corpus Permissions
      • Create Corpus Permissions
      • Delete Corpus Permissions
      • Get Corpus Permission By User
      • Create Document In Corpus
      • Get All Documents From Corpus
      • Delete All Documents
      • Check Duplicate Documents
    • Evaluation APIs
      • Create Evaluation Test
      • Get All Evaluation Tests for an Agent
      • Update Evaluation Test
      • Get One Evaluation Test
      • Update Evaluation Status
      • Get Evaluation Dataset for an Agent
      • Get All Evaluation Datasets for an Agent
      • Create Evaluation Dataset
      • Update Evaluation Dataset
      • Delete Evaluation Dataset
      • Get Agent Queries
      • Get Dataset Queries
    • SharePoint APIs
      • Get SharePoint items by full path
      • Get a SharePoint item by its ID
      • Create a new SharePoint item
      • Edit SharePoint item
      • Delete a SharePoint item
    • User APIs
      • Get All Users
      • Get User By ID
      • Edit User By ID
      • Delete User by ID
      • Create User Permission
      • Get User Permission by ID
      • Edit User Permission by ID
      • Delete User Permission by ID
      • Batch Delete Users
    • Analytics APIs
      • Get Tokens by Date
      • Get Tokens by Segment
      • Get User Tokens
      • Get Agent Tokens
      • Get Team Tokens
      • Get Query Count by Date
      • Get Query Count by Segment
      • Get Total Count
      • Get Daily Chat Engagement
      • Get Weekly Chat Engagement
      • Get Monthly Chat Engagement
      • Get User Engagement
      • Get Daily Chatlog Tokens
      • Get Weekly Chatlog Tokens
      • Get Monthly Chatlog Tokens
      • Get Agent Engagement
      • Get Engagement by Team
      • Get Engagement by User
      • Get Recently Active Agents
      • Get Recent Users
    • Notification APIs
      • Send Notification To User
      • Read Notification By ID
  1. Project APIs

Edit Project By ID

PUT
/project/{project_id}
Project APIs
Modify the details of an existing project by providing the project ID and the new project name.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/project/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "project_name": "Sample Project Name Updated"
}'
Response Response Example
{
    "success": true,
    "message": "Project modified successfully.",
    "data": {
        "id": 151,
        "created_by": "user@example.com",
        "created_on": "2024-10-22T00:43:29.531995Z",
        "modified_by": "user@example.com",
        "modified_on": "2024-10-22T00:43:29.532010Z",
        "project_name": "Sample Project Name Updated",
        "team_visibility": false,
        "is_deleted": false,
        "team": 1
    }
}

Request

Path Params
project_id
integer 
required
The ID of the project to be edited.
Example:
151
Body Params application/json
project_name
string 
optional
Example:
Sample Project Name Updated
Examples

Responses

🟢200OK
application/json
Project modified successfully
Body
success
boolean 
optional
Example:
true
message
string 
optional
Example:
Project modified successfully.
data
object 
optional
id
integer 
optional
Example:
151
created_by
string 
optional
Example:
user@example.com
created_on
string <date-time>
optional
Example:
2024-10-22T00:43:29.531995Z
modified_by
string 
optional
Example:
user@example.com
modified_on
string <date-time>
optional
Example:
2024-10-22T00:43:29.532010Z
project_name
string 
optional
Example:
Sample Project Name Updated
team_visibility
boolean 
optional
Example:
false
is_deleted
boolean 
optional
Example:
false
team
integer 
optional
Example:
1
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Previous
Get Project Details by ID
Next
Delete Project By ID