PUT v1/bunits/{bunitId}/tags/own/{tagId}
Update a tag
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit the tag is related to | integer |
Required |
tagId |
The ID of the tag to update | integer |
Required |
Body Parameters
The tag to update
TagName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of the tag |
integer |
None. |
BusinessUnitId |
The ID of the business unit that created the tag |
integer |
None. |
Text |
The text of the tag |
string |
None. |
Inheritable |
If a tag is inheritable it can be used by business units descending original creator |
boolean |
None. |
BusinessUnitCount |
The number of business unit that the tag is assigned to |
integer |
None. |
ConsumerCount |
The number of consumption units the tag is assigned to |
integer |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<Tag xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <BusinessUnitId>2</BusinessUnitId> <Text>sample string 3</Text> <Inheritable>true</Inheritable> <BusinessUnitCount>5</BusinessUnitCount> <ConsumerCount>6</ConsumerCount> </Tag>
Response Information
Resource Description
The updated tag
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.