Workspace configuration
Get activity log settings
Returns whether the activity log is on and how many days entries are kept.
Requires: desk.admin scope, workspace owner or admin.
Authorization
bearerAuth AuthorizationBearer <token>
A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Response
OK
Example
{ "enabled": false, "retention_days": 1, "retention_choices": [ { "days": 1, "allowed": false, "reason": "Outside business hours" } ], "plan_max_days": 1, "size_bytes": 1}FieldTypeDescription
enabledrequiredbooleanTrue to switch it on, false to switch it off.retention_daysrequiredintegerHow many days the activity log is kept before it is cleared.retention_choicesrequiredobject[]daysrequiredintegerallowedrequiredbooleanreasonstringWhy, in a few words, for example Lunch.plan_max_daysrequiredintegersize_bytesrequiredintegercurl -X GET "https://api.sautidesk.com/v1/desk/admin/activity-settings"