---
title: "Enable or disable the Border Agent ephemeral key (ePSKc) feature."
method: PUT
path: "/node/ba-epskc/state"
tags: ["node"]
---

# Enable or disable the Border Agent ephemeral key (ePSKc) feature.

`PUT /node/ba-epskc/state`

The feature must be enabled before an ephemeral key can be activated
with a POST request to `/node/ba-epskc/key`.

## Request body

- string — Can be "enable" or "disable".

## Response `200`

Successful operation.

## Other responses

- `400` — The client sent an invalid request. The client SHOULD perform action(s) to provide valid syntax before retrying the request.
- `404` — The client requested a target resource that does not exist. The client SHOULD perform action(s) to re-align with the API or re-synchronize application state before retrying the request.

---

[API](https://skmtc.net/openthread/apis/swagger-openthread-rest-api.md) · [All operations](https://skmtc.net/openthread/apis/swagger-openthread-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openthread/swagger-openthread-rest-api/revisions/7996e8479177/schema)
