Get Just in Time access

This method requests and receives access to a target Windows machine with administrative rights. The domain user who runs this web service will be added to the local Administrators group of the target machine.

URL

 

Make sure there are no spaces in the URL.

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

 

https://<IIS_Server_Ip>/PasswordVault/api/Accounts/{accountId}/grantAdministrativeAccess

The following mandatory value is required in the URL:

Parameter

accountId

Type

String

Description

The local account that will be used to add the logged on user to the Administrators group on the target machine.

Valid values

URL

Resource Information

HTTP method

POST

Content type

application/json

Header parameter

Parameter

Authorization

Type

String

Description

The token that identifies the session.

Valid values

A session token that was returned from the “Logon” method.

Body parameters

None

Result

The domain user is added to the target Windows machine with administrative rights.

Return Codes

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