Migrate machine types
Migrates all apps' machine types of a user from one machine type to another
Path parameters
-
user-slug
string Required User slug
Body
Required
Machine type to migrate from and to
-
from_machine
string Machine type to migrate from
-
to_machine
string Machine type to migrate to
PATCH
/user/{user-slug}/apps/machine_types
curl \
--request PATCH 'https://api.bitrise.io/v0.1/user/{user-slug}/apps/machine_types' \
--header "Authorization: $API_KEY" \
--data '{"from_machine":"string","to_machine":"string"}'
Request examples
{
"from_machine": "string",
"to_machine": "string"
}
Response examples (200)
{
"errors": [
{
"app": "string",
"error": "string"
}
],
"message": "string",
"migrated_apps": [
"string"
]
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}