---
title: Rotate FileVault Key
framework: devicemanagement
role: symbol
role_heading: Web Service Endpoint
path: devicemanagement/rotate-filevault-key-command
---

# Rotate FileVault Key

Change the FileVault primary password on a device.

## URL

PUT https://yourmdmhost.example.com/mdm

## Response Codes

200 OK: The response object the system returns for the Rotate FileVault Key Command.

## Discussion

Discussion Change the FileVault password periodically to mitigate the security risk of deployed devices. Refer to the following sections to determine supported channels and requirements, and to see an example request and response. Command availability  |   |   |   |   |   |  Example request and response

## HTTP Body

The request object the server returns for the Rotate FileVault Key Command.

## Topics

### Commands and responses

- [RotateFileVaultKeyCommand](devicemanagement/rotatefilevaultkeycommand.md)
- [RotateFileVaultKeyResponse](devicemanagement/rotatefilevaultkeyresponse.md)

## See Also

### Security

- [Security Info](devicemanagement/security-info-command.md)
- [Certificate List](devicemanagement/certificate-list-command.md)
- [Activation Lock Bypass Code](devicemanagement/activation-lock-bypass-code-command.md)
- [Clear Activation Lock Bypass Code](devicemanagement/clear-activation-lock-bypass-code-command.md)
