diff --git a/app/en/operate/governance/tool-executions/page.mdx b/app/en/operate/governance/tool-executions/page.mdx index a0b1f7941..2443bc6d0 100644 --- a/app/en/operate/governance/tool-executions/page.mdx +++ b/app/en/operate/governance/tool-executions/page.mdx @@ -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}' ```