Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.04 KB

api-entities-fetch.md

File metadata and controls

48 lines (32 loc) · 1.04 KB
title description ms.date ms.topic
Fetch - Entities API
This article describes the fetch request in the Defender for Cloud Apps Entities API.
01/29/2023
reference

Fetch - Entities API

Note

This request is not available for Microsoft 365 Cloud App Security.

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

HTTP request

GET /api/v1/entities/<pk>/

Request URL parameters

Parameter Description
pk A dictionary with the entity ID, SaaS, and instance details encoded as a base64 string. For example: {"id":"3fa9f28b-eb0e-463a-ba7b-8089fe9991e2","saas":11161,"inst":0} encoded as a base64 string.

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/entities/<pk>/"

Response

Returns the specified entity in JSON format.

{
  // entity record
}

[!INCLUDE Open support ticket]