---
title: "Create a new test user definition"
method: POST
path: "/test-user-definitions"
tags: ["Inspect"]
---

# Create a new test user definition

`POST /test-user-definitions`

## Request

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

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