---
title: "POST /v1/users/"
method: POST
path: "/v1/users/"
tags: ["v1"]
---

# POST /v1/users/

`POST /v1/users/`

View user details and create users.

## Request body

- UserDetails
  - `self` string, uri
  - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
  - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
  - `schedule_entries` string — The list of schedule entries owned by the user
  - `date_joined` string, date-time
  - `last_login` string, date-time
  - `email` string, email, nullable
  - `auth_token` string
  - `has_usable_password` string
  - `is_admin` string

## Response `201`

Created

- UserDetails
  - `self` string, uri
  - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
  - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
  - `schedule_entries` string — The list of schedule entries owned by the user
  - `date_joined` string, date-time
  - `last_login` string, date-time
  - `email` string, email, nullable
  - `auth_token` string
  - `has_usable_password` string
  - `is_admin` string

## Changes

- **2021-04-05** `d8c7ab2e82cd` — 1 info
  - endpoint added
- **2020-12-11** `69458c47d785` — 1 breaking
  - api path removed without deprecation
- **2020-10-23** `381c110a013b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ntia/apis/scos-sensor-api/changes/v1/users/post.md)

---

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