Generates and retrieves new access management for the account.

Syntax
.create(/data/)

Arguments

Field nameTypeDescription
am_id
stringId of the new access management.
data
object
Options for the new access management.
name
string
A name for the access management.
permissions
array
Permissions for access management.
effect
string
Effect for access management. Access or deny. 
action
string
Action for access management. 
resource
string

Resource for access management. 
targets
array
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>}