Admin API

Access to the administrator functions of Knox are provided by the Admin REST API.

Admin API URL

The URL mapping for the Knox Admin API is:

ResourceURL
GatewayAPIhttps://{gateway-host}:{gateway-port}/{gateway-path}/admin/api/v1

Please note that to access this API, the user attempting to connect must have admin credentials configured on the LDAP Server

API Documentation
<provider>
    <role>identity-assertion</role>
    <name>Default</name>
    <enabled>true</enabled>
</provider>

<provider>
    <role>hostmap</role>
    <name>static</name>
    <enabled>true</enabled>
    <param>
        <name>localhost</name>
        <value>sandbox,sandbox.hortonworks.com</value>
    </param>
</provider>

</gateway>