---
title: "Approve a password request"
method: POST
path: "/restapi/json/v1/accounts/{accountId}/requester/{requesterId}/approve"
tags: ["Access Control"]
---

# Approve a password request

`POST /restapi/json/v1/accounts/{accountId}/requester/{requesterId}/approve`

## Request

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

Approves a pending password access request made by a specific user for a given account.

## Path parameters

- `accountId` integer, required
- `requesterId` integer, required

## Headers

- `orgName` string

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

- object
  - `INPUT_DATA` object, required: JSON with approval details including access timing and resource scope.
    - `operation` object
      - `Details` object
        - `REASON` string: Justification for approving the password request
        - `ACCESS` 'now' | 'later': When access should be granted
        - `STARTTIME` string: Start date and time for the access window (format DD/mm/yyyy HH:mm)
        - `ENDTIME` string: End date and time for the access window (format DD/mm/yyyy HH:mm)
        - `RESOURCES_TO_BE_ACCESSED_OPTION` '2' | '3': Specifies resource access scope for Windows domain accounts. 2 = all shared resources, 3 = selected resources only.
        - `SELECTED_RESOURCEIDS` string[]: List of specific resource IDs when RESOURCES_TO_BE_ACCESSED_OPTION is "3"

## Response `200`

Request approved

- ApprovePasswordResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object
      - `STATUS` 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)
