Documentation is now available for the Fall 2020 Update release!

Update custom attribute type and add new values

This endpoint is used to update the description and add new values to a custom attribute.

Leave Feedback

URL

POST https://{api-url}/api/v2/tenants/{tenantId}/customAttributes/{attributeId}

Sample URLs

https://{api-url}/api/v2/tenants/client_93/customAttributes/11
https://{api-url}/api/v2/tenants/msp_92/customAttributes/12

Sample request

{
	"description": "creating custom_type for tenant update",
	"customAttributeValues": [{
			"value": "test_val_1_for_custom_attr_type_for_tenant_1",
			"description": "creating first value for tenant update"
		},
		{
			"value": "test_val_2_for_custom_attr_type_for_tenant_2",
			"description": "creating second value for tenant update"
		}
	]
}

Sample response

{
	"id": 1,
	"name": "custom_attr_type_for_tenant",
	"description": "creating custom_type for tenant update"
}