Endpoint
/api/v2/tenants/{tenantId}/customAttributes/search
Path Parameters
tenantId
string

Describes the client ID of the tenant

Query Parameters
pageNo
integer

pageSize
integer

isDescendingOrder
boolean

sortName
string

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

nextPageNo
integer

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.customAttributeValues
results.description
results.id
results.name
results.organization
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": true,
  "nextPageNo": 2,
  "orderBy": "tag.id",
  "pageNo": 1,
  "pageSize": 2,
  "previousPageNo": 0,
  "results": [
    {
      "customAttributeValues": [
        {
          "description": "desc_custom_attr_from_API_test_1_update_1",
          "id": 396,
          "value": "custom_attr_from_API_test_1_value"
        },
        {
          "description": "custom_attr_from_API_test_2_value_description",
          "id": 399,
          "value": "custom_attr_from_API_test_2_value"
        }
      ],
      "description": "custom_attr_from_API_test_1_update",
      "id": 63,
      "name": "custom_attr_from_API_test_1",
      "organization": {
        "activated": true,
        "id": 93,
        "name": "Brocade Lab",
        "uniqueId": "client_93"
      }
    },
    {
      "customAttributeValues": [
        {
          "description": "test case example",
          "id": 393,
          "value": "custom attribute values"
        },
        {
          "description": "test case",
          "id": 392,
          "value": "value"
        },
        {
          "description": "test case value",
          "id": 394,
          "value": "value for test case"
        }
      ],
      "description": "test case",
      "id": 61,
      "name": "test case",
      "organization": {
        "activated": true,
        "id": 93,
        "name": "Brocade Lab",
        "uniqueId": "client_93"
      }
    },
    {
      "customAttributeValues": [
        {
          "id": 387,
          "value": "ELB"
        }
      ],
      "id": 60,
      "name": "Test",
      "organization": {
        "activated": true,
        "id": 93,
        "name": "Brocade Lab",
        "uniqueId": "client_93"
      }
    },
    {
      "customAttributeValues": [
        {
          "id": 375,
          "value": "Test-Tag-Key-Value1"
        }
      ],
      "id": 59,
      "name": "Test-Tag-Key1",
      "organization": {
        "activated": true,
        "id": 93,
        "name": "Brocade Lab",
        "uniqueId": "client_93"
      }
    },
    {
      "customAttributeValues": [
        {
          "id": 373,
          "value": "acme-web-as-group"
        },
        {
          "id": 385,
          "value": "opsramp-autoscale-webapp"
        }
      ],
      "id": 58,
      "name": "aws:autoscaling:groupName",
      "organization": {
        "activated": true,
        "id": 93,
        "name": "Brocade Lab",
        "uniqueId": "client_93"
      }
    },
    {
      "customAttributeValues": [
        {
          "id": 382,
          "value": "acme-ecomm-aws-api1"
        },
        {
          "id": 367,
          "value": "acme-ecomm-aws-api2"
        },
        {
          "id": 364,
          "value": "acme-ecomm-aws-api3"
        },
        {
          "id": 365,
          "value": "acme-ecomm-aws-cache1"
        },
        {
          "id": 381,
          "value": "acme-ecomm-aws-cache2"
        }
      ],
      "id": 57,
      "name": "Name",
      "organization": {
        "activated": true,
        "id": 93,
        "name": "Brocade Lab",
        "uniqueId": "client_93"
      }
    }
  ],
  "totalPages": 3,
  "totalResults": 6
}