---
title: "Set temporary users configuration"
method: PUT
path: "/resources/users/temporary/v1/configuration"
tags: ["Users"]
---

# Set temporary users configuration

`PUT /resources/users/temporary/v1/configuration`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/users/temporary/v1/configuration`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/temporary/v1/configuration/put.ts> (a function with typed inputs; its response is checked against the schema)

This route updates the settings for temporary users, use it to enable or disable it for an environment

## Request body

- TemporaryUsersConfigurationDto
  - `enabled` boolean, required

## Response `200`

- TemporaryUsersConfigurationDto
  - `enabled` boolean, required

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
