Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 810 Bytes

api-files-fetch.md

File metadata and controls

43 lines (28 loc) · 810 Bytes
title description ms.date ms.topic
Fetch - Files API
This article describes the fetch request in the Defender for Cloud Apps Files API.
01/29/2023
reference

Fetch - Files API

Note

  • This API is not available for Microsoft 365 Cloud App Security.

Run the GET request to fetch the file matching the specified primary key.

HTTP request

GET /api/v1/files/<pk>/

Request URL parameters

Parameter Description
pk The ID of the file

Example

Request

Here is an example of the request.

curl -XPOST -H "Authorization:Token <your_token_key>" "https://<tenant_id>.<tenant_region>.portal.cloudappsecurity.com/api/v1/files/<pk>/"

Response

Returns the specified file.

[!INCLUDE Open support ticket]