---
title: "# Invite User"
method: POST
path: "/v1/users/invite"
tags: ["Users"]
---

# # Invite User

`POST /v1/users/invite`

Invite User; Email, Role ID, Login Type

## Request body

- InviteUserRequest
  - `email` string — Email
  - `login_type` string — LoginType
  - `role_id` integer — RoleID

## Response `200`

- object
  - `id` integer

## Other responses

- `401` — unauthorizedErrorSwagger is represents unauthorized error
- `422` — validationErrorSwagger is represents the erroneous cases
- `default` — genericErrorSwagger is represents the erroneous cases

---

[API](https://skmtc.net/picussecurity/apis/picus-rest-api.md) · [All operations](https://skmtc.net/picussecurity/apis/picus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picussecurity/picus-rest-api/versions/cb0d02ee28f8/schema)
