ChatAttachment

Update a chat attachment data

The chat ID is provided in the route.

put/public/v1/helpdesk/chats/{chatId}/attachments/{id}

Request

  • Base URL: https://api.platform.softwareone.com
  • URL: https://api.platform.softwareone.com/public/v1/helpdesk/chats/{chatId}/attachments/{id}
  • Auth: none declared

Path parameters

chatIdstring required

The chat ID.

idstring required

The chat attachment ID.

Request body

idstring
namestring
iconstring nullable
revisioninteger
descriptionstring nullable
status'Active' | 'Deleted'

Example request

{
  "file": {
    "filename": "report.pdf",
    "size": 102400,
    "contentType": "application/pdf"
  }
}

Response

OK

idstring
namestring
iconstring nullable
revisioninteger
descriptionstring nullable
status'Active' | 'Deleted'

Example response

{
  "file": {
    "filename": "report.pdf",
    "size": 102400,
    "contentType": "application/pdf"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.