---
title: "Regenerate a signing key"
method: PUT
path: "/NotificationSubscriptions/SigningKey"
tags: ["NotificationSubscriptions"]
---

# Regenerate a signing key

`PUT /NotificationSubscriptions/SigningKey`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/NotificationSubscriptions/SigningKey`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/NotificationSubscriptions/SigningKey/put.ts> (a function with typed inputs; its response is checked against the schema)

Regenerates the current subscriber's or provider's signing key. The previous signing key becomes invalid.

## Response `200`

The new signing key is in the response.

- ServiceChannelServicesMessagingNotificationsSigningKeyResponse
  - `Key` string: The current subscriber's or provider's signing key.

## Other responses

- `401`: The request is not authorized. <br/>Error codes: 504 - Missing or incorrect authentication credentials

---

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