POST
/
api
/
v1
/
archives
/
channels
/
{channelId}
Archive channels
curl --request POST \
  --url https://apix.us.amity.co/api/v1/archives/channels/{channelId} \
  --header 'Authorization: Bearer <token>'
{
  "channelId": "<string>",
  "archivedAt": "2022-07-07T04:24:20.444Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

channelId
string
required
Example:

"60e4b1b4b3b2b5c4c4b3b2b5"

Response

200
application/json

List of archived channels

Archive Channel Information