Schedule demo

User Domains v3 APIs


The User Domains v3 APIs allow you to perform various operations to user domains configured under User Management in the system. Browse through the following APIs to perform required operations to user domains:

Get All User Domains

Retrieves the list of all configured user domain (directory service) details.

Syntax

https://[APM-HOST]:[APM-PORT]/api/v3/userdomains

Supported HTTP methods: GET

Allowed Roles: Administrator, User

Sample Request:

https://apm-prod-server:8443/api/v3/userdomains
	Header:
	authorization=c3d0530476e7eb7fbc5345ebea3a89de

Sample Response (200 OK):

{
  "message": "success",
  "data": [
    {
      "id": 1,
      "name": "corp.example.com",
      "controller": "dc01.corp.example.com",
      "port": 389,
      "directoryService": "Active Directory",
      "protocol": "LDAP",
      "userPermissions": "Full Control",
      "saveDomainUserPassword": true
    },
    {
      "id": 2,
      "name": "dev.example.com",
      "controller": "ldap.dev.example.com",
      "port": 636,
      "directoryService": "LDAP",
      "protocol": "LDAPS",
      "userPermissions": "Read Only",
      "saveDomainUserPassword": false
    }
  ],
  "meta": {}
}

Delete a User Domain

Deletes a single user domain by its ID.

Syntax

https://[APM-HOST]:[APM-PORT]/api/v3/userdomains/{userDomainId}

Supported HTTP methods: DELETE

Allowed Roles: Administrator

API Parameters:

ParameterTypeRequiredDescription
Path Parameter
userDomainIdLongYesThe unique ID of the user domain

Sample Request:

https://apm-prod-server:8443/api/v3/userdomains/2
	Header:
	authorization=c3d0530476e7eb7fbc5345ebea3a89de

Sample Response (200 OK):

{
  "message": "success",
  "data": [
    "am.webclient.useradministration.domain.delete.success"
  ],
  "meta": {}
}

Delete Multiple User Domains

Deletes multiple user domains at once using comma-separated domain IDs.

Syntax

https://[APM-HOST]:[APM-PORT]/api/v3/userdomains

Supported HTTP methods: DELETE

Allowed Roles: Administrator

Content-Type:application/x-www-form-urlencoded

API Parameters:

ParameterTypeRequiredDescription
Request Parameter
userDomainIdsStringYesComma-separated list of user domain IDs

Sample Request:

https://apm-prod-server:8443/api/v3/userdomains
	Header:
	authorization=c3d0530476e7eb7fbc5345ebea3a89de
	Body (form-urlencoded):
	userDomainIds=1,3

Sample Response (200 OK):

{
  "message": "success",
  "data": [
    "am.webclient.useradministration.domain.delete.success"
  ],
  "meta": {}
}

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by thousands of leading businesses globally