---
title: "Provision and invite a SCIM user"
method: POST
path: "/scim/v2/organizations/{org}/Users"
tags: ["scim"]
---

# Provision and invite a SCIM user

`POST /scim/v2/organizations/{org}/Users`

Provisions organization membership for a user, and sends an activation email to the email address. If the user was previously a member of the organization, the invitation will reinstate any former privileges that the user had. For more information about reinstating former members, see "[Reinstating a former member of your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-membership-in-your-organization/reinstating-a-former-member-of-your-organization)."

## Path parameters

- `org` string, required

## Request body

- object
  - `userName` string, required — Configured by the admin. Could be an email, login, or username
  - `displayName` string — The name of the user, suitable for display to end-users
  - `name` object, required
    - `givenName` string, required
    - `familyName` string, required
    - `formatted` string
  - `emails` object[], required — user emails
    - `value` string, required
    - `primary` boolean
    - `type` string
  - `schemas` string[]
  - `externalId` string
  - `groups` string[]
  - `active` boolean

## Response `201`

Response

## Other responses

- `304` — Not modified
- `400` — Bad request
- `403` — Forbidden
- `404` — Resource not found
- `409` — Conflict
- `500` — Internal server error

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/revisions/8ae6d0c8716e/schema)
