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"
}