---
title: "Set application access for users"
method: PUT
path: "/applications/user/access"
tags: ["Application"]
---

# Set application access for users

`PUT /applications/user/access`

Grant or update application access for a list of users (tenant admin only).

## Query parameters

- `cookie_name` string, nullable
- `tenant_id` integer

## Request body

- ApplicationAccessIn — Schema for granting app access to users
  - `application_id` integer, required — ID of the application to grant access to.
  - `user_ids` integer[], nullable — IDs of the users who should have access to the application.

## Response `200`

Successful Response

- ApplicationMember[]
  - `user_id` integer, required — ID of the user.
  - `tenant_id` integer, required — ID of the tenant.
  - `app_id` integer, required — ID of the application.
  - `granted_by` integer, nullable, required — ID of the user who granted access.
  - `created_at` string, date-time — Timestamp when access was created.

## Other responses

- `401` — Missing or invalid authentication.
- `403` — Tenant admin privileges required.
- `404` — No application exists with the given id.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/revisions/b53e89b98c2b/schema)
