POST api/Settings/SetTagVisibility
Restricting access to tags for a role
Request Information
URI Parameters
None.
Body Parameters
Access restriction parameters
RestrictionParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleId |
Role ID |
integer |
None. |
| ChangeForTags |
Operations on tags |
Collection of ValueTupleOfGuidAndTagVisibilityAction |
None. |
Request Formats
application/json, text/json
Sample:
{
"roleId": 1,
"changeForTags": [
{
"item1": "fb3ed02a-8389-4ebf-9faa-aa23eafafb2a",
"item2": 0
},
{
"item1": "fb3ed02a-8389-4ebf-9faa-aa23eafafb2a",
"item2": 0
}
]
}
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
None. |
|
| Error |
Error description |
string |
None. |
| Success |
Flag of successful operation |
boolean |
None. |
| ErrorCode |
Error code |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": true,
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
parameters
Tag access restriction parameters
| Property | Description |
|---|---|
| RoleId (Int32) |
Role ID |
| ChangeForTags (ValueTuple`2[]) |
Operations on tags |