API
Delete chatbot profile picture
The Delete Chatbot Profile Picture API endpoint allows you to delete the profile picture of a specific chatbot.
Endpoint
Request Headers
The API request must include the following headers:
Authorization: Bearer <Your-Secret-Key>
- The secret key for authenticating the API request.Accept: application/json
- The accepted response content type.
Request Parameters
chatbotId
(string, required): A unique identifier for the chatbot you want to delete the profile picture for.
Example Request
JavaScript
Python
Response
- 200: Reply confirming the successful deletion of the chatbot’s profile picture.
- 400: If the chatbot ID is missing.
- 401: If the request is unauthorized.
- 404: If the chatbot cannot be found.
- 500: If there is an internal server error.
The Delete Chatbot Profile Picture API endpoint provides a way to remove the profile picture of a chatbot. Upon successful deletion, a confirmation message is returned in the response.