---
title: "POST /v2/lock-settings/{network}/locks/{lockAddress}"
method: POST
path: "/v2/lock-settings/{network}/locks/{lockAddress}"
---

# POST /v2/lock-settings/{network}/locks/{lockAddress}

`POST /v2/lock-settings/{network}/locks/{lockAddress}`

Save lock settings

## Path parameters

- `network` integer, required
- `lockAddress` string, required

## Request body

- LockSettings
  - `lockAddress` string
  - `network` number
  - `sendEmail` boolean
  - `slug` string
  - `replyTo` string, nullable
  - `creditCardPrice` number, nullable
  - `emailSender` string, nullable
  - `checkoutConfigId` string, nullable
  - `hookGuildId` string, nullable
  - `unlockFeeChargedToUser` boolean
  - `creditCardCurrency` string
  - `crossmintClientId` string, nullable
  - `promoCodes` string[]
  - `passwords` string[]
  - `requiredGitcoinPassportScore` number, nullable

## Response `200`

Successfully saved settings for lock

- object
  - `sendEmail` boolean

## Other responses

- `401` — User is not authenticated.
- `500` — Invalid request

## Changes

- **2024-04-03** `36c81afffcee` — 1 info
  - added the new optional request property `requiredGitcoinPassportScore`
- **2024-03-21** `08e6b0a1d78f` — 1 info
  - added the new optional request property `passwords`
- **2024-01-10** `a23763c6a513` — 1 info
  - added the new optional request property `promoCodes`
- **2023-11-03** `b77bfb068867` — 4 warning
  - removed the request property `allowList`
  - removed the request property `passwords`
  - removed the request property `promoCodes`
  - removed the request property `requiredGitcoinPassportScore`

[Change history](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/changes/v2/lock-settings/:network/locks/:lockAddress/post.md)

---

[API](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith.md) · [All operations](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/llms.txt) · [OpenAPI document](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/revisions/07107231d66b?raw)
