Skip to content

Promote the dev script version to production

POST
/v1/domains/{id}/promote
curl --request POST \
--url https://api.monita.ai/v1/domains/example/promote \
--header 'Authorization: Bearer <token>'
id
required
string

Promoted

Media typeapplication/json
object
version
required
number
renames
required
Array<string>
Examplegenerated
{
"version": 1,
"renames": [
"example"
]
}

Not found

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}