---
title: "Assign users to application"
method: POST
path: "/resources/applications/v1"
tags: ["User management (multi-app)"]
---

# Assign users to application

`POST /resources/applications/v1`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/applications/v1`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/applications/v1/post.ts> (a function with typed inputs; its response is checked against the schema)

This route assigns users to an application.

## Request body

- AssignUsersToAppRequestDto
  - `appId` string, required
  - `tenantId` string, required
  - `userIds` string[], required

## Response `201`

- ApplicationUserTenantsResponseDto[]
  - `appId` string, required
  - `userTenantId` string, required
  - `createdAt` string, date-time, required

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
