API v2: Account-Safe-Listener Assignmentยถ
defines the privileged account existing on the monitored server. It specifies the actual login credentials, user authentication mode: anonymous (without user authentication), regular (with login credentials substitution) or forward (with login and password forwarding); password changing policy as well as the password changer itself.
Data Structures: AccountSafeListenerAssignmentModelยถ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
Read-only object Identifier |
|
string |
yes |
Immutable. Uniqueness is required in the combination of attribute |
|
string |
yes |
Immutable. Uniqueness is required in the combination of attribute |
|
string |
no |
Immutable. Uniqueness is required in the combination of attribute |
|
string |
Read-only; expensive to use |
|
|
string |
Read-only; expensive to use |
|
|
string |
Read-only; expensive to use |
|
|
string |
Read-only; expensive to use; |
|
|
string |
Read-only; expensive to use; |
|
|
string |
Read-only; expensive to use; |
|
|
string |
Read-only; expensive to use; |
|
|
string |
Read-only; expensive to use |
|
|
string |
Read-only; expensive to use |
|
|
datetime |
Read-only |
|
|
datetime |
Read-only |
|
|
boolean |
Read-only |
|
|
boolean |
Read-only; expensive to use; if |
|
|
boolean |
Read-only; expensive to use; if |
Retrieve Available Attributes of the AccountSafeListener- AssignmentModelยถ
Request
Method |
|
Path |
|
To check allowed methods, available URL parameters and possible responses please refer to the API Overview section.
Get Account-Safe-Listener Assignment Listยถ
Request
Method |
|
Path |
|
Example Request
GET /api/v2/account/safe/listener
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/account/safe/listener'
Response
{
"result": "success",
"account_safe_listener": [
{
"account_id": "1224979098644774915",
"safe_id": "1224979098644774913",
"listener_id": "1224979098644774914",
"account_name": "ad-user1-windows",
"account_type": "regular",
"protocol": "rdp",
"server_id": "1224979098644774915",
"server_name": "windows",
"safe_name": "main",
"listener_name": "RDP:bastion",
"created_at": "2025-08-25 05:08:28.879241-07",
"modified_at": "2025-08-25 05:08:28.879241-07",
"builtin": false,
"hidden": false
}
]
}
Get Account-Safe-Listener Assignment by IDโsยถ
Request
Method |
|
Path |
|
Example Request
GET /api/v2/account/<account_id>/safe/<safe_id>/listener/<listener_id>
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/account/1232678819172646919/safe/1232678819172646913/listener/1232678819172646914'
Response
{
"result": "success",
"account_safe_listener": {
"account_id": "1232678819172646919",
"safe_id": "1232678819172646913",
"listener_id": "1232678819172646914",
"account_name": "VNC_Admin",
"account_type": "regular",
"protocol": "vnc",
"server_id": "1224979098644774918",
"server_name": "VNC_Server",
"safe_name": "VNC",
"listener_name": "VNC_Listen",
"created_at": "2025-09-22 03:03:08.656825-07",
"modified_at": "2025-09-22 03:03:14.808987-07",
"builtin": false,
"hidden": false
}
}
Create an Account-Safe-Listener Assignmentsยถ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
Example Request
POST /api/v2/account/safe/listener
{
"account_id": 1232678819172646919,
"safe_id": 1232678819172646913,
"listener_id": 1232678819172646914
}
Response
{
"result": "success",
"account_safe_listener": {}
}
Modify an Account-Safe-Listener Assignmentยถ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
Example Request
PATCH /api/v2//account/<account_id>/safe/<safe_id>/listener/<listener_id>
curl -s -k -X PATCH \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
-H 'Content-Type: application/json' \
'https://10.0.214.98/api/v2/account/1232678819172646919/safe/1232678819172646913/listener/1232678819172646914' \
-d '{"listener_id":1232678819172646916}'
Response
{
"result": "success"
}
Delete an Account-Safe-Listener Assignmentยถ
Request
Method |
|
Path |
|
Example Request
DELETE /api/v2/account/<account_id>/safe/<safe_id>/listener/<listener_id>
curl -s -k -X DELETE \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/account/1232678819172646919/safe/1232678819172646913/listener/1232678819172646914'
Response
{
"result": "success"
}