Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/en/operate/governance/tool-executions/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ On Arcade Cloud, recording is enabled by default and the retention window is 7 d

### Change them yourself

In the dashboard, open **Organization → Logging Policy**. Or call the API with an account-authenticated token — a project API key is refused, because the policy belongs to the organization rather than to a project:
In the dashboard, open **Organization → Logging Policy**. Or call the API. The policy belongs to the organization, so this endpoint authenticates a user the same way the [audit log API](/operate/governance/audit-logs) does — a project API key is refused with a `401`:

```bash
curl -s -X PUT "https://api.arcade.dev/v1/orgs/{org_id}/logging-config" \
-H "Authorization: Bearer $ARCADE_ACCOUNT_TOKEN" \
curl -s -X PUT "https://cloud.arcade.dev/api/v1/orgs/{org_id}/logging-config" \
-H "Authorization: Bearer $ARCADE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"logging_data_retention": "ALLOWED", "default_log_retention_days": 30}'
```
Expand Down
Loading