---
title: "PUT /config/borderRouter/keyLifetimes"
method: PUT
path: "/config/borderRouter/keyLifetimes"
---

# PUT /config/borderRouter/keyLifetimes

`PUT /config/borderRouter/keyLifetimes`

Configure Border Router key lifetimes. This method may only be issued to a Border Router. If non-default key lifetimes are needed, this call MUST be issued before setting the L/GTKs with /config/borderRouter/gtks.

## Request body

- KeyLifetimes — Lifetime of the various keys used at the Border Router.
  - `pmkLifetime` string — PMK lifetime (minutes) for FFNs.
  - `ptkLifetime` string — PTK lifetime (minutes) for FFNs.
  - `gtkLifetime` string — GTK lifetime (minutes) for all GTKs.
  - `gtkNewActivationTime` integer — The time at which the Border Router activates the next GTK prior to expiration of the currently activated GTK. Calculated as (1/gtkNewActivationTime) * GTK_EXPIRE_OFFSET.
  - `revocationLifetimeReduction` integer — Factor by which the active GTK lifetime is reduced during node revocation procedures. Reduced lifetime is calculated as (1/gtkRevocationLifetimeReduction) * original lifetime.
  - `lfnPmkLifetime` string — PMK lifetime (minutes) for LFNs.
  - `lfnPtkLifetime` string — PTK lifetime (minutes) for LFNs.
  - `lgtkLifetime` string — LGTK lifetime (minutes) for all LGTKs.
  - `lgtkNewActivationTime` integer — The time at which the Border Router activates the next LGTK prior to expiration of the currently activated LGTK. Calculated as (1/lgtkNewActivationTime) * LGTK_EXPIRE_OFFSET.
  - `lgtkRevocationLifetimeReduction` integer — Factor by which the active LGTK lifetime is reduced during node revocation procedures. Reduced lifetime is calculated as (1/lgtkRevocationLifetimeReduction) * original lifetime.

## Response `200`

Border Router successfully configured.

## Other responses

- `400` — Device is not a Border Router.
- `default` — Unknown error occurred

---

[API](https://skmtc.net/siliconlabs/apis/tbu-api.md) · [All operations](https://skmtc.net/siliconlabs/apis/tbu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siliconlabs/tbu-api/versions/8475de394ee2/schema)
