Get Audit Logs
Path Parameters
team_idstring
ID of team
Query Parameters
page?integer
The page number to retrieve
Range
1 <= value
limit?integer
The number of items to retrieve per page
Range
1 <= value <= 100
ascending?boolean
Sort in ascending order based on object creation timestamp
Header Parameters
Authorizationstring
Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token
audit logs filters
body?unknown
Response Body
curl -X POST "https://api.devzero.io/backend/v0/v2/teams/string/audit-logs?page=1&limit=1&ascending=true" \
-H "Authorization: string" \
-H "Content-Type: application/json" \
-d '{}'
{
"log_entries": [
{
"created_at": "2019-08-24T14:15:22Z",
"id": "string",
"impersonated_user_email": "string",
"metadata": "string",
"operation": "create",
"originating_user_email": "string",
"originating_user_id": "string",
"resource_type": "workspace",
"team_id": "string",
"team_name": "string"
}
],
"total_num_docs": 0
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}