Skip to main content
POST
/
v1
/
addons
Create an addon
curl --request POST \
  --url https://revstack.dev/v1/addons \
  --header 'Content-Type: application/json' \
  --data '
{
  "environmentId": "<string>",
  "name": "<string>",
  "type": "flat",
  "metadata": {}
}
'
null

Body

application/json
environmentId
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
flat,
metered
metadata
object

Response

Addon created

The response is of type unknown.