How long activity history is kept for this Account
/portal/v1/accounts/{accountSlug}/applications/{appSlug}/environments/{envSlug}/workspace/activity/retentionAuthentication
Bearer Token
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Responses
application/json
data *WorkspaceActivityRetentionResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/{accountSlug}/applications/{appSlug}/environments/{envSlug}/workspace/activity/retention" \ -H "Authorization: Bearer $CANOPY_TOKEN"
{ "data": { "retention_days": 0 } }
Tell us how we can improve this guide.