---
title: "POST /networks/{networkId}/tdf"
method: POST
path: "/networks/{networkId}/tdf"
---

# POST /networks/{networkId}/tdf

`POST /networks/{networkId}/tdf`

Registers and saves OpenTDF configuration for a Wickr network, enabling attribute-based access control for Wickr through an OpenTDF provider.

## Path parameters

- `networkId` string, required

## Query parameters

- `dryRun` boolean

## Request body

- object
  - `clientId` string, required — The OIDC client ID used for authenticating with the OpenTDF provider.
  - `clientSecret` string, password, required — The OIDC client secret used for authenticating with the OpenTDF provider
  - `domain` string, required — The domain of the OpenTDF server.
  - `provider` string, required — <p>The provider of the OpenTDF platform.</p> <note> <p>Currently only Virtru is supported as the OpenTDF provider.</p> </note>

## Response `200`

Success

- RegisterOpentdfConfigResponse
  - `clientId` string, required — The OIDC client ID used for authenticating with the OpenTDF provider.
  - `domain` string, required — The domain of the OpenTDF server.
  - `clientSecret` string, password, required — The OIDC client secret used for authenticating with the OpenTDF provider.
  - `provider` string, required — The provider of the OpenTDF platform.

## 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)
