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.
If you run into any problems, we're here to help. To get assistance or support for your product issue, please open a support ticket.