---
title: "Change device configuration"
method: POST
path: "/sessions/{sessionId}/device/applySettings"
tags: ["Device Interactions"]
---

# Change device configuration

`POST /sessions/{sessionId}/device/applySettings`

## Request

- Base URL: `https://api.us-west-1.saucelabs.com/rdc/v2`
- URL: `https://api.us-west-1.saucelabs.com/rdc/v2/sessions/{sessionId}/device/applySettings`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/docs/sessions/:sessionId/device/applySettings/post.ts> (a function with typed inputs; its response is checked against the schema)

Changes device settings such as orientation, locale, or animations during an active session.
The request body must contain **at least one** of the properties below.
**Note**: Some settings are OS-specific. Please review the parameter descriptions for details.

## Path parameters

- `sessionId` string, required

## Request body

- object
  - `orientation` 'PORTRAIT' | 'LANDSCAPE': The desired screen orientation. Supported on both **Android** and **iOS**.
  - `locale` string: **Android only.** Sets the system-wide language and country (IETF BCP 47 format, e.g., 'en-US', 'fr-CA'). Not supported on iOS because changing locale requires a device reboot, which is not supported during an active session.
  - `animations` boolean: **Android only.** Enable or disable system animations to improve test stability and speed.

## Response `204`

Command executed successfully

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference.md) - [All operations](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/saucelabs/apis/real-device-access-api-reference/revisions/f845a4b66e37?raw)
