---
title: "Create a user"
method: POST
path: "/users"
---

# Create a user

`POST /users`

## Request body

- object
  - `name` string, required — Full name of the user.
  - `email` string, required — Email address of the user.
  - `extRelationId` integer — Relation ID.
  - `selfService` integer — (default disabled) 0 = disabled, 1 = hourly, 2 = resource packs, 3 = hourly & resource packs.
  - `selfServiceHourlyCredit` boolean — Enable/disable credit balance billing for hourly self service. (true|false).
  - `selfServiceHourlyGroupProfiles` integer[] — (default none) array of self service hourly group profile ids.
  - `selfServiceResourceGroupProfiles` integer[] — (default none) array of self service resource group profile ids.
  - `selfServiceHourlyResourcePack` integer — (default none) ID of an hourly self service resource pack.
  - `sendMail` boolean — (default false) Email the access credentials to the user. (true|false).

## Response `201`

- object

## Other responses

- `401`

---

[API](https://skmtc.dev/virtfusion/apis/virtfusion-global-api.md) · [All operations](https://skmtc.dev/virtfusion/apis/virtfusion-global-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/virtfusion/virtfusion-global-api/revisions/e5fbafe8acde/schema)
