---
title: "POST /networks/{networkId}/data-retention-bots/challenge"
method: POST
path: "/networks/{networkId}/data-retention-bots/challenge"
---

# POST /networks/{networkId}/data-retention-bots/challenge

`POST /networks/{networkId}/data-retention-bots/challenge`

Creates a new challenge password for the data retention bot. This password is used for authentication when the bot connects to the network.

## Path parameters

- `networkId` string, required

## Response `200`

Success

- CreateDataRetentionBotChallengeResponse
  - `challenge` string, password, required — The newly generated challenge password for the data retention bot.

## Other responses

- `480` — ValidationError
- `481` — BadRequestError
- `482` — ResourceNotFoundError
- `483` — ForbiddenError
- `484` — UnauthorizedError
- `485` — InternalServerError
- `486` — RateLimitError

---

[API](https://skmtc.net/aws/apis/wickr.md) · [All operations](https://skmtc.net/aws/apis/wickr/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/wickr/versions/71d396c2af63/schema)
