Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}/templates

Unassigns resource templates.

Path Parameters
tenantId
string

Describes the clientId or mspId of tenant

resourceId
string

Describes the uuid of the resource

id
string

[
  {
    "id": "6632"
  },
  {
    "id": "6634"
  }
]

Responses

OK

Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}/templates

Assigns and updates resource templates.

Path Parameters
tenantId
string

Describes the clientId or mspId of tenant

resourceId
string

Describes the uuid of the resource

assignedInterfaces
array

assignedInterfaces.adminStatus
assignedInterfaces.confLinkSpeed
assignedInterfaces.id
assignedInterfaces.ifAlias
assignedInterfaces.ifDescription
assignedInterfaces.ifName
assignedInterfaces.ifTxType
assignedInterfaces.ifType
assignedInterfaces.macAddress
assignedInterfaces.networkName
assignedInterfaces.operationalStatus
assignedInterfaces.speed
assignedInterfaces.status
configParameters
array

configParameters.parameter
configParameters.value
id
integer

[
  {
    "id": 992
  },
  {
    "configParameters": [
      {
        "parameter": {
          "id": 980,
          "name": "Port"
        },
        "value": "8086"
      },
      {
        "parameter": {
          "id": 981,
          "name": "Additional Port"
        },
        "value": "8998"
      }
    ],
    "id": 1024
  },
  {
    "assignedInterfaces": [
      {
        "id": 244345
      },
      {
        "id": 244346
      }
    ],
    "id": 6741
  },
  {
    "assignedInterfaces": [
      {
        "id": 244170
      },
      {
        "id": 244078
      }
    ],
    "configParameters": [
      {
        "parameter": {
          "id": 1395,
          "name": "ad_port_1"
        },
        "value": "8443"
      },
      {
        "parameter": {
          "id": 1396,
          "name": "ad_port_2"
        },
        "value": "9443"
      }
    ],
    "id": 6742
  }
]

Responses

OK