Skip to content

Set or clear the primary bundle id for an app property

PUT
/v1/domains/{id}/bundle
curl --request PUT \
--url https://api.monita.ai/v1/domains/example/bundle \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "bundleId": "example" }'
id
required
string
Media typeapplication/json
object
bundleId
required
string
nullable >= 2 characters <= 200 characters
Examplegenerated
{
"bundleId": "example"
}

Saved

Media typeapplication/json
object
ok
required
boolean
Examplegenerated
{
"ok": true
}

Invalid bundle id

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

Not found

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