This route requires Bearer token authentication! You MUST have VIEW_CHANNEL permission & SEND_MESSAGE permission for this route.
PUT https://localhost:8989/api/channels/{channelID}/attachment?attachmentID={attachmentID}
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| channelID | string | Required | |
| attachmentID | string | ONLY NEEDED FOR GET & DELETE ROUTES |
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| file | file | The file attachment to upload |
Required |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK Will return the attachmentID if succeeded |
Attachment Upload Response |