ReplaceAccessGroupRulesRequest
Replace every rule of an access group
Omitted lists are treated as empty and omitted match fields as "any".
genreMatch object
oneOf
- RuleMatch
How allowed genres combine
RuleMatch
How allowed genres combine
Possible values: [any, all]
genres object[]
Rules on genres, matched by name
Array [
accessModeAccessModerequired
Allow or deny
Possible values: [allow, deny]
namestringrequired
Tag or genre name
Example:
Adult]
libraries object[]
Rules on libraries
Array [
accessModeAccessModerequired
Allow or deny
Possible values: [allow, deny]
libraryIdstring<uuid>required
Library ID
]
sharingTagMatch object
oneOf
- RuleMatch
How allowed sharing tags combine
RuleMatch
How allowed sharing tags combine
Possible values: [any, all]
sharingTags object[]
Rules on sharing tags
Array [
accessModeAccessModerequired
Allow or deny
Possible values: [allow, deny]
sharingTagIdstring<uuid>required
Sharing tag ID
]
tagMatch object
oneOf
- RuleMatch
How allowed tags combine
RuleMatch
How allowed tags combine
Possible values: [any, all]
tags object[]
Rules on regular tags, matched by name
Array [
accessModeAccessModerequired
Allow or deny
Possible values: [allow, deny]
namestringrequired
Tag or genre name
Example:
Adult]
ReplaceAccessGroupRulesRequest
{
"genreMatch": "any",
"genres": [
{
"accessMode": "allow",
"name": "Adult"
}
],
"libraries": [
{
"accessMode": "allow",
"libraryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"sharingTagMatch": "any",
"sharingTags": [
{
"accessMode": "allow",
"sharingTagId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"tagMatch": "any",
"tags": [
{
"accessMode": "allow",
"name": "Adult"
}
]
}