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 |
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.
GET /api/v1/files/<pk>/
Parameter | Description |
---|---|
pk | The ID of the file |
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>/"
Returns the specified file.
[!INCLUDE Open support ticket]