Modifies any property of access management.

Syntax
.edit(/am_id/, /data/)

Arguments

Field nameTypeDescription
data am_id
Id for the new access management.
data
object Options for the new access management.
name
string
[optional]
A name for the access management.
permissions array of object
[optional]
Permissions for access management.
effect
string
[optional]
Effect for access management. access or deny.
action
string
[optional]
Action for access management. 
resource
string
[optional]
Resource for access management. 
targets
array of arrays
[optional]
Targets for access management.
active
bool
[optional] 
Set if the access management will be visible. Default True. 
tags
array
[optional] 
An array of objects with key and value.

Returns {Promise<JSON>}