| `enabled` | Boolean | no | Determines if the mirror is enabled. |
| `only_protected_branches` | Boolean | no | Determines if only protected branches are mirrored. |
Example request:
```sh
curl --request PUT --data"enabled=false"--header"PRIVATE-TOKEN: <your_access_token>"'https://gitlab.example.com/api/v4/projects/42/remote_mirrors/101486'