Delete files uploaded by a user for chat.

post/deletechatfiles

Delete files uploaded by a user for Chat.

SecurityBearerAuth
Request
query Parameters
timezoneOffset
integer

The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.

header Parameters
X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

X-Scio-Actas
string <email>

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

Request Body schema: application/json
required
fileIds
required
Array of strings

IDs of files to delete.

Responses
200

OK

400

Invalid request

401

Not Authorized

403

Forbidden

429

Too Many Requests

Request samples
application/json
{
  • "fileIds": [
    • "string"
    ]
}