2.1 Register an Endpoint

Endpoint is a device where the user authenticates. After registering an endpoint, you will get endpoint id and secret.

API Call

POST https://{{hostname}}/api/v1/endpoints

For more information, see Register New Endpoint.

Sample Request

{
   "name":"aa.endpoint",
   "typ":3,
   "desc":"Endpoint",
   "is_trusted":true,
   "tenant_name":"TOP",
   "auth_data":{
      "method_id":"PASSWORD:1",
      "user_name":"LOCAL\\admin",
      "password":"novell@123"
   }
}

Sample Response

{ "id": "1889d45e7d5411ee9ef60242ac110003", "secret": "H0ca3uY8x9wtZgauLGhX7mLLeptQo2MG" }