2.1 Accessing Administration APIs

Administration Console supports Administration APIs, OAuth and OpenID Connect APIs, and Component Statistics APIs. You can invoke these APIs by using a browser or by using the curl command in scripts to help automate the administrative tasks.

Base URL: [https://<Administration Console DNS or IP>:<AC Port>/amsvc/v1/…

The Administration Console port is 8443 by default. However, if Administration Console is installed along with Identity Server on the same system, then the port is 2443.

Authentication: The APIs are protected by using basic authentication. You can use Administration Console credentials for accessing the APIs. However, accessing the API differs from accessing Administration Console in the following ways:

  • The username for accessing the APIs must be specified in the fully qualified format. For example, cn=admin,o=novell.

  • The user must have full admin rights to Administration Console. These APIs do not support delegated admin access.

Response Format: It returns the data as XML by default. Set the Accept header to application/json to obtain the response in the JSON format.