---
title: "Add user members to organization"
method: POST
path: "/api/organizations/{id}/users"
tags: ["Organizations"]
---

# Add user members to organization

`POST /api/organizations/{id}/users`

Add users as members to the specified organization with the given user IDs.

## Path parameters

- `id` string, required

## Request body

- object
  - `userIds` string[], required — An array of user IDs to be added to the organization. Organization existed users assignment will be ignored.

## Response `201`

Users were added to the organization successfully.

- object
  - `userIds` string[], required — An array of user IDs processed from the request. This may include IDs that were already members of the organization.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — At least one of the IDs provided is not valid. For example, the organization ID or user ID does not exist.

---

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