---
title: "Устанавливает коды доступа для приложения"
method: POST
path: "/rest.application.access.set"
tags: ["rest"]
---

# Устанавливает коды доступа для приложения

`POST /rest.application.access.set`

Replaces all existing access codes for the application with the provided ones.
		For personal applications, the owner user access code is always added to the saved access codes.
		Access codes define which users or groups can use the application.
		Administrators and personal application owners always have access regardless of access codes.
		For shared applications, if no access codes are set, the application is available to everyone.
		For personal applications, if no access codes are set, only the owner and administrators have access.
		Request example:
		{
			"clientId": "local.69b9196bdbd793.03286491",
			"codes": ["UA", "D1"]
		}

## Request body

- object
  - `clientId` string, required
  - `codes` string[], required

## Response `200`

Success response

- object
  - `result` object
    - `result` boolean

## Changes

- **2026-03-18** `555e9f0892a0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bitrix24/apis/bitrix24-rest-v3-api/changes/rest.application.access.set/post.md)

---

[API](https://skmtc.dev/bitrix24/apis/bitrix24-rest-v3-api.md) · [All operations](https://skmtc.dev/bitrix24/apis/bitrix24-rest-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitrix24/bitrix24-rest-v3-api/revisions/cc1e4e725c8c/schema)
