---
title: "Update an existing Keystore"
method: PUT
path: "/apiops/projects/{projectName}/keystores/{keystoreName}/"
tags: ["Keystore"]
---

# Update an existing Keystore

`PUT /apiops/projects/{projectName}/keystores/{keystoreName}/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/projects/{projectName}/keystores/{keystoreName}/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/projects/:projectName/keystores/:keystoreName/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates an existing Keystore and deploys it to environments.

## Path parameters

- `projectName` string, required
- `keystoreName` string, required

## Query parameters

- `jwkUpdateAction` 'NULLIFY' | 'UPDATE'
- `updateScope` 'SAME_PROJECT' | 'ALL_PROJECTS'

## Request body

- KeystoreUpdateDTO
  - `name` string
  - `description` string
  - `keyStoreEnvironmentList` KeystoreEnvironmentDTO[]
    - `environmentName` string
    - `alias` string
    - `keyStoreType` 'JKS' | 'PKCS12'

## Response `200`

successful operation!

- ApiOpsResponseKeystore
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` KeystoreManagementDTO[]
    - `id` string
    - `name` string
    - `description` string
    - `projectId` string
    - `keyStoreEnvironmentList` KeystoreEnvironmentDTO[]
      - `environmentName` string
      - `alias` string
      - `keyStoreType` 'JKS' | 'PKCS12'
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

## Changes

- **2026-10-20** `d1a546deccf0`: 2 breaking
  - added the new path request parameter `keystoreName`
  - request property `keyStoreEnvironmentList/items/keyStoreType` was restricted to a list of enum values
  - …this revision’s changelog is incomplete
- **2026-08-11** `9ae232e55479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apinizer/apis/apinizer-management-apis/changes/apiops/projects/:projectName/keystores/:keystoreName/put.md)

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
