# Rotate the SDK key (old key valid for 24 h)

> POST /stores/{id}/rotate-key endpoint of the Proteside API: parameters, request body, responses and code samples.

URL: https://docs.proteside.com/en/docs/api/reference/stores/rotateStoreKey

## Method and route

`POST /stores/{id}/rotate-key`

## Parameters

- `id` (path, `string`, required)
- `org_id` (query, `string`): Partners only (`orgs:manage`): act on this child organization. May also be sent as `org_id` in JSON bodies.
- `Idempotency-Key` (header, `string`): Replays the original response for 24 h

## Responses

- `200`: New key + snippets

Full OpenAPI specification: https://app.proteside.com/api/v1/openapi.json
