---
title: "Update test user definition"
method: PUT
path: "/test-user-definitions/{testUserDefinitionId}"
tags: ["Inspect"]
---

# Update test user definition

`PUT /test-user-definitions/{testUserDefinitionId}`

## Request

- Base URL: `http://localhost:8090/inspect-api`
- URL: `http://localhost:8090/inspect-api/test-user-definitions/{testUserDefinitionId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/docs/test-user-definitions/:testUserDefinitionId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `testUserDefinitionId` string, required

## Request body

- SaveTestUserDTO
  - `userName` string
  - `firstName` string
  - `lastName` string
  - `displayName` string
  - `userDefinitionKey` string
  - `groupKeys` string[]
  - `email` string
  - `language` string
  - `theme` string
  - `tenantId` string

## Response `200`

successful operation

- TestUserDTO
  - `id` string
  - `userName` string
  - `firstName` string
  - `lastName` string
  - `displayName` string
  - `userDefinitionKey` string
  - `groupKeys` string[]
  - `email` string
  - `language` string
  - `theme` string

---

[API](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-inspect-rest-api/revisions/5c72eb80b6c5?raw)
