Skip to main content
POST
Create

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Query Parameters

environment
string

Environment slug to scope this operation to. Defaults to "production". An environment that does not exist on the project answers 404. The cache is created in the addressed environment.

Pattern: ^[a-z][a-z0-9-]{0,38}$

Body

application/json
name
string
required
Pattern: ^[a-z][a-z0-9-]{1,61}$
sku
enum<string>
required
Available options:
cache-n1,
cache-s1,
cache-s2
region
string
required
persistence
enum<string>
Available options:
none,
aof
evictionPolicy
enum<string>
Available options:
allkeys-lru,
allkeys-lfu,
volatile-lru,
noeviction

Response

Cache provisioned and credentials issued.

id
string
required
name
string
required
status
enum<string>
required
Available options:
provisioning,
ready,
failed
connectionString
string
required

A rediss:// URL shown exactly once. Rotate credentials to issue another.