Documentation is now available for the Fall 2020 Update release!

Update management profile

This endpoint is used to update a management profile.

Leave Feedback

URL

POST https://{api/v2}/api/v2/tenants/{tenantId}/managementProfiles/{id}

Sample URLs

https://{api/v2}/api/v2/tenants/{tenantId}/managementProfiles/{id}

Parameters

FieldData TypeDescription
nameStringThe management profile name.
descriptionStringSummary describing the management profile.
deviceStringThe device details, applicable only for the agent management profile.
  • Device ID
  • Name

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