API reference
migrateDeviceInstallation
Required permission: Authenticated
migrateDeviceInstallation(
whiteLabelId: ID!
previousInstallationId: String!
currentInstallationId: String!
): VoidArguments
| Name | Type | Description |
|---|---|---|
whiteLabelId |
ID! |
|
previousInstallationId |
String! |
|
currentInstallationId |
String! |
Returns
Example
mutation MigrateDeviceInstallation($whiteLabelId: ID!, $previousInstallationId: String!, $currentInstallationId: String!) {
migrateDeviceInstallation(whiteLabelId: $whiteLabelId, previousInstallationId: $previousInstallationId, currentInstallationId: $currentInstallationId)
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { migrateDeviceInstallation(...) { __typename } }"}'