POST api/Settings/SetTagVisibility

Restricting access to tags for a role

Request Information

URI Parameters

None.

Body Parameters

Access restriction parameters

RestrictionParameters
NameDescriptionTypeAdditional 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": "98c04ae2-f57e-4296-963b-de14861ad1ef",
      "item2": 0
    },
    {
      "item1": "98c04ae2-f57e-4296-963b-de14861ad1ef",
      "item2": 0
    }
  ]
}

Response Information

Resource Description

Result containing the flag of successful operation

ObjResultOfBoolean
NameDescriptionTypeAdditional 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