Access Control
Configure access control for resources
Enables and configures access control settings for one or more resources. Specify approval administrators, checkout duration, grace time, auto-approve options, and other access control parameters at the resource level. Known limitation: This endpoint may reject INPUT_DATA in certain PAM360 versions.
post/restapi/json/v1/resources/configureaccesscontrol
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"INPUT_DATA": {
"operation": {
"Details": {
"resourceIds": [
201,
202
],
"addApprovalAdmins": [
1,
2
],
"reasonRequired": true,
"remindAdmins": true,
"reminderMinutes": 30,
"checkOutTime": 60,
"numberOfApprovalAdmins": 1,
"autoApproveOption": "allday",
"timesOfTheDay0": [
"09:00 | 18:00"
],
"timesOfTheDay1": [
"09:00 | 18:00"
],
"timesOfTheDay2": [
"09:00 | 18:00"
],
"timesOfTheDay3": [
"09:00 | 18:00"
],
"timesOfTheDay4": [
"09:00 | 18:00"
],
"timesOfTheDay5": [
"09:00 | 18:00"
],
"timesOfTheDay6": [
"09:00 | 18:00"
],
"provideGraceTime": true,
"graceTime": 15
}
}
}
}Response
Access control configured
Example response
{
"operation": {
"Details": {
"configurationResult": [
{
"resourceId": "1",
"status": "Success",
"statusCode": 20000,
"message": "Access Control has been configured successfully"
}
]
},
"name": "CONFIGURE ACCESS CONTROL"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.