Skip to main content
PATCH
Update test

Authorizations

Authorization
string
header
required

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

Body

application/json

Send testId plus at least one field to change. An omitted field is left as it is.

testId
string
required
commands
string[]

The commands the test is made of. Changing them changes what the test should do, so this is the one field that re-triggers automation generation.

title
string

Rename the test. Renaming never re-triggers automation generation. Titles are unique within an organisation, so a title another test already uses is refused.

tags
string[]

Replace the test's tags. Send the full list you want the test to end up with: [] clears them, and omitting the field leaves them as they are. Re-tagging never re-triggers automation generation, so a CI job can regroup a suite as often as it likes. Tags are trimmed and de-duplicated before they are stored.

autoGenerate
boolean
default:true

Whether updating this test's commands should automatically re-trigger MobileBoost to write and verify its automation code. Defaults to true; pass false to skip automatic generation.

folderId
string | null

Move the test to this folder, or null to take it out of its folder. Omit the field to leave the folder as it is. Changing a test's folder never re-triggers automation generation: it does not change what the test should do.

Response

200 - application/json

Successful response