---
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
  - `allowList` string[], nullable

## Response `200`

Successfully saved settings for lock

- object
  - `sendEmail` boolean

## Other responses

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

## Changes

- **2024-11-20** `26994c8e611d` — 1 breaking
  - the `allowList` request property type/format changed from `string`/`` to `array`/``
- **2024-11-19** `3f6785a8ffe5` — 1 info
  - added the new optional request property `allowList`
- **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`

[Full 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-service-production.skmtc.workers.dev/v1/apis/unlock-protocol/unlock-locksmith/revisions/e003b998de45/schema)
