Endpoint
/api/v2/tenants/{tenantId}/customAttributes/{attributeId}
Deletes the tenant custom attribute.
Path Parameters
tenantIdstring
attributeIdstring
Responses
OK
Endpoint
/api/v2/tenants/{tenantId}/customAttributes/{attributeId}
Gets the custom attribute types and respective values.
Path Parameters
tenantIdstring
attributeIdstring
Responses
OK
customAttributeValuesarray
Child Parameters
- customAttributeValues.customAttribute
- customAttributeValues.description
- customAttributeValues.id
- customAttributeValues.value
- Values of the custom attributes values.
descriptionstring
idinteger
namestring
organizationobject
Child Parameters
- organization.activated
- organization.id
- organization.name
- organization.uniqueId
{
"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"
}
}
Endpoint
/api/v2/tenants/{tenantId}/customAttributes/{attributeId}
Updates the description and adds new values to a custom attribute.
Path Parameters
tenantIdstring
attributeIdstring
customAttributeValuesarray
Child Parameters
- customAttributeValues.customAttribute
- customAttributeValues.description
- customAttributeValues.id
- customAttributeValues.value
- Values of the custom attributes values.
descriptionstring
idinteger
namestring
organizationobject
Child Parameters
- organization.activated
- organization.id
- organization.name
- organization.uniqueId
{
"customAttributeValues": [
{
"description": "creating first value for tenant update",
"value": "test_val_1_for_custom_attr_type_for_tenant_1"
},
{
"description": "creating second value for tenant update",
"value": "test_val_2_for_custom_attr_type_for_tenant_2"
}
],
"description": "creating custom_type for tenant update"
}
Responses
OK
descriptionstring
idinteger
namestring
{
"description": "creating custom_type for tenant update",
"id": 1,
"name": "custom_attr_type_for_tenant"
}