---
title: "Deactivate access control for accounts"
method: PUT
path: "/restapi/json/v1/accounts/disableaccesscontrol"
tags: ["Access Control"]
---

# Deactivate access control for accounts

`PUT /restapi/json/v1/accounts/disableaccesscontrol`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/accounts/disableaccesscontrol`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/accounts/disableaccesscontrol/put.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `orgName` string

## Request body `application/x-www-form-urlencoded`

- object
  - `INPUT_DATA` object, required: JSON with list of account IDs to deactivate access control for.
    - `operation` object
      - `Details` object
        - `accountIds` integer[], required: List of account IDs on which access control will be deactivated

## Response `200`

Access control deactivated

- DeactivateAccountAccessControlResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object
      - `configurationResult` object[]
        - `accountId` integer: ID of the account
        - `resourceId` integer: ID of the resource the account belongs to
        - `status` string
        - `statusCode` integer
        - `message` string
    - `name` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
