Skip to main content
POST
Create layer

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string<string>
required

The project key

Body

application/json
key
string
required

Unique identifier for the layer

Example:

"checkout-flow"

name
string
required

Layer name

Example:

"Checkout Flow"

description
string
required

The checkout flow for the application

Response

Layer response

key
string
required

The key of the layer

Example:

"checkout-flow"

name
string
required

The name of the layer

Example:

"Checkout Flow"

description
string
required

The description of the layer

Example:

"The checkout flow for the application"

createdAt
integer<int64>
required

The date and time when the layer was created

randomizationUnit
string

The unit of randomization for the layer

Example:

"user"

environments
object

The layer configurations for each requested environment