---
title: "Set the Default Password Sync Setting"
method: PUT
path: "/devices/settings/defaultpasswordsync"
tags: ["Systems Organization Settings"]
---

# Set the Default Password Sync Setting

`PUT /devices/settings/defaultpasswordsync`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/devices/settings/defaultpasswordsync`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/devices/settings/defaultpasswordsync/put.ts> (a function with typed inputs; its response is checked against the schema)

Sets the Default Password Sync Setting for an Organization.

## Request body

- DevicesSetDefaultPasswordSyncSettingsRequest
  - `enabled` boolean
  - `organizationObjectId` string, byte

## Response `200`

A successful response.

- object

## Other responses

- `204`: Setting successfully changed.
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
