URL
POST https://{api-url}/api/v2/tenants/{tenantId}/managementProfiles/{id}
Sample URLs
https://{api-url}/api/v2/tenants/{tenantId}/managementProfiles/{id}
Parameters
Field | Data Type | Description |
---|---|---|
name | String | The management profile name. |
description | String | Summary describing the management profile. |
device | String | The device details, applicable only for the agent management profile.
|
Status code
200 OK
Sample requests
This is a sample request for an agent profile:
{
"name" : "LB02 Agent Profile",
"description" : "Agent Management Profile",
"type" : "Agent",
"device" : {
"id" : "014ec656-8dfa-404c-8269-015a96faa9b8"
}
}
This is a sample request for a gateway profile:
{
"name" : "LB01 Gateway Profile",
"description" : "Gateway Management Profile",
"type" : "Gateway"
}
Date format is yyyy-MM-ddTHH:mm:ssZ (GMT).
Sample response
This is a sample response for an agent profile:
{
"id" : 78,
"name" : "LB02 Agent Profile",
"description" : "Agent Management Profile",
"type" : "Agent",
"status" : "DOWN",
"createdDate" : "2016-06-22T09:57:09+0000",
"device" : {
"id" : "014ec656-8dfa-404c-8269-015a96faa9b8",
"generalInfo" : {
"ipAddresses" : "172.28.2.138",
"hostName" : "SJLPT177"
},
"clientUniqueId" : "client_69900",
"type" : "DEVICE"
}
}
This is a sample response for a gateway profile:
{
"id" : 77,
"name" : "LB01 Gateway Profile",
"description" : "Gateway Management Profile",
"type" : "Gateway",
"createdDate" : "2016-06-22T09:31:38+0000",
"tunnelType" : "SSHD",
"registered" : false,
"activationToken" : "6d8e4cc4-0be4-4706-bc1f-7e7e37a10b54"
}