Update a certain agent.
Update an agent (formerly known as project) with specific details based on its unique projectId. This endpoint allows you to modify and revise the information associated with a particular agent Here is an example to a update a specific object: API SDK.
Path parameters
The unique identifier of the agent (formerly known as project).
Response
Agent has been updated
Example response
{
"status": "success",
"data": {
"id": 1,
"project_name": "My Agent",
"sitemap_path": "https://www.example.com/sitemap.xml",
"is_chat_active": true,
"user_id": 1,
"team_id": 1,
"created_at": "2021-01-01 00:00:00",
"updated_at": "2021-01-01 00:00:00",
"deleted_at": "2021-01-01 00:00:00",
"type": "SITEMAP",
"is_shared": true,
"shareable_slug": "1234567890abcdef1234567890abcdef",
"are_licenses_allowed": true
}
}Changes
Changed in 5 of the 9 revisions of this API.22233
- ●
added the new
Agent id is requiredenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
Agent with id {projectId} not foundenum value to the/response property for the response statusresponse-property-enum-value-added
- ○
api tag
Agentsaddedapi-tag-added
- ○
api tag
Projectsremovedapi-tag-removed
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
removed the
Project id is requiredenum value from the/response property for the response statusresponse-property-enum-value-removed
- ○
removed the
Project with id {projectId} not foundenum value from the/response property for the response statusresponse-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ●
- ▲
removed the media type
application/jsonfrom the request bodyrequest-body-media-type-removed
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ▲
- ▲
removed the media type
multipart/form-datafrom the request bodyrequest-body-media-type-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
added the new
Project id is requiredenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
Project with id {projectId} not foundenum value to the/response property for the response statusresponse-property-enum-value-added
- ○
api tag
Projectsaddedapi-tag-added
- ○
api tag
Agentsremovedapi-tag-removed
- ○
added the media type
application/jsonto the request bodyrequest-body-media-type-added
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
removed the
Agent id is requiredenum value from the/response property for the response statusresponse-property-enum-value-removed
- ○
removed the
Agent with id {projectId} not foundenum value from the/response property for the response statusresponse-property-enum-value-removed
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲