Skip to content
QwryAI
Documentation
Pages

Endpoints

Delete chatbot profile picture

Clear the agent picture with update_styles

API v1's profile picture delete has no direct equivalent. To remove the agent picture, set it to an empty string with the Tools API's update_styles tool. The change returns a review, and nothing changes until you apply it. The full reference is Update agent styles.

POSThttps://api.qwryai.com/public/v1/tools/update_styles

Authentication

Send your API key as Authorization: Bearer YOUR_API_KEY. The key needs Change agent settings. See Authentication.

Body parameters

NameTypeRequiredDescription
chatbotIdstringYesThe agent's id, from list_agents.
expectedUpdatedAtstringYesThe agent's current updatedAt, from get_chat_interface. A stale value is refused.
changesarrayYesThe style fields to change, each { "field", "value" }.

The fields this page uses:

FieldValue
agentPictureUrlAn empty string clears the picture.

Request example

Bash
curl -X POST 'https://api.qwryai.com/public/v1/tools/update_styles' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "chatbotId": "YOUR_AGENT_ID",
    "expectedUpdatedAt": "2026-11-30T18:56:55.709Z",
    "changes": [
      { "field": "agentPictureUrl", "value": "" }
    ]
  }'

Response

The response is a review. Apply it with POST https://api.qwryai.com/public/v1/reviews/{reviewId}/apply within 15 minutes. See Agents › Reviewed updates.

Errors

HTTP statuscodeWhen
400INVALID_ARGUMENTSA field name or value fails the schema, such as an address that isn't http or https.
403INSUFFICIENT_PERMISSIONThe key doesn't hold Change agent settings.
409NOTHING_TO_CHANGEThe values are already set.
409STALE_CONFIGURATIONexpectedUpdatedAt isn't the agent's current updatedAt. Read get_chat_interface again.

See Error Handling for authentication and rate-limit errors.

Explore the documentation