---
title: Rule Actions
url: https://docs.kaltura.com/docs/rich-media-cms-apis/content-management/access-control-rule-actions
---

## Rule Actions


| Action ObjectType | Description | Additional Fields |
|------------------|-------------|-------------------|
| `KalturaAccessControlBlockAction` | Block access entirely | -- |
| `KalturaAccessControlPreviewAction` | Allow preview only | `limit` (integer, seconds) |
| `KalturaAccessControlLimitFlavorsAction` | Restrict to specific flavors | `flavorParamsIds` (comma-separated), `isBlockedList` (boolean) |
| `KalturaAccessControlLimitDeliveryProfilesAction` | Restrict delivery profiles | `deliveryProfileIds` (comma-separated), `isBlockedList` (boolean) |
| `KalturaAccessControlLimitThumbnailCaptureAction` | Restrict thumbnail frame capture | -- |
| `KalturaAccessControlServeFromRemoteServerAction` | Force serve from specific edge | -- |

**Preview action (paywall):**


```bash
# Allow first 30 seconds only for unauthenticated users
-d "accessControlProfile[rules][0][conditions][0][objectType]=KalturaAuthenticatedCondition" \
-d "accessControlProfile[rules][0][conditions][0][not]=true" \
-d "accessControlProfile[rules][0][actions][0][objectType]=KalturaAccessControlPreviewAction" \
-d "accessControlProfile[rules][0][actions][0][limit]=30"
```


**Limit flavors action:**


```bash
# Restrict mobile devices to SD flavors only
-d "accessControlProfile[rules][0][actions][0][objectType]=KalturaAccessControlLimitFlavorsAction" \
-d "accessControlProfile[rules][0][actions][0][flavorParamsIds]=$FLAVOR_PARAMS_ID_1,$FLAVOR_PARAMS_ID_2" \
-d "accessControlProfile[rules][0][actions][0][isBlockedList]=false"
```
