3.1 Create 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":"new.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": "7454fac094d811ee8a380242ac110003",
    "secret": "GzTcxYZ7MB5dyAYNW2pzp0hmN7rVwvp7"
}