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 |
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.
GET /api/v1/entities/<pk>/
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. |
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>/"
Returns the specified entity in JSON format.
{
// entity record
}
[!INCLUDE Open support ticket]