v25

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-015053126.2 KB
RedisAcls

Create a new Redis ACL

Create a new Redis ACL with the provided configuration

post/v1/redis_acls

Query parameters

dry_runboolean

Validate the request without persisting changes

Request body

account_idinteger

SM account ID associated with this ACL.

aclstring

Redis ACL string definition.

action_uidstring

Action uid. If exists - progress can be tracked by the GET /actions/<uid> API

max_versionstring

Maximum Redis version for which this ACL is valid.

min_versionstring

Minimum Redis version for which this ACL is valid.

namestring

ACL name.

uidinteger

Redis ACL unique uid.

Example request

{
  "acl": "on >allcommands allkeys",
  "max_version": "9999",
  "min_version": "6.2",
  "name": "default",
  "uid": 1
}

Response

Redis ACL created successfully

account_idinteger

SM account ID associated with this ACL.

aclstring

Redis ACL string definition.

action_uidstring

Action uid. If exists - progress can be tracked by the GET /actions/<uid> API

max_versionstring

Maximum Redis version for which this ACL is valid.

min_versionstring

Minimum Redis version for which this ACL is valid.

namestring

ACL name.

uidinteger

Redis ACL unique uid.

Example response

{
  "acl": "on >allcommands allkeys",
  "max_version": "9999",
  "min_version": "6.2",
  "name": "default",
  "uid": 1
}