---
title: "Sets the application access codes"
method: POST
path: "/rest.application.access.set"
tags: ["rest"]
---

# Sets the application access codes

`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

---

[API](https://skmtc.net/bitrix24/apis/bitrix24-rest-v3-api.md) · [All operations](https://skmtc.net/bitrix24/apis/bitrix24-rest-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitrix24/bitrix24-rest-v3-api/versions/3660cc6bfaf5/schema)
