Revoke Just in Time access

This method revokes administrative rights for Just in Time (JIT) access to a target Windows machine. The domain user who runs this web service will be removed from the local Administrators group of the target machine.

URL

 

https://<IIS_Server_Ip>/PasswordVault/api/Accounts/{accountId}/RevokeAdministrativeAccess/
  • Make sure there are no spaces in the URL.

  • The following characters are not supported in URL values: + & %

  • If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/

Resource information

HTTP method

Content type

POST

application/json

Header parameter

Parameter

Description

Authorization

The token that identifies the session, encoded in BASE 64.

Type: string

Mandatory: yes

Default value: none

URL parameter

Parameter

Description

AccountId

The local account on the target machine for which the logged on user will no longer have Administrative rights.

Type: string

Mandatory: yes

Default value: none

Result

The domain user is removed from the target Windows machine.

Return Codes

For a complete list of return codes, see Return Codes.