Update Element Block Rules (Deprecated)
Updates the current element block rules privacy settings.
Request Body required
- Array [
- ALL_SESSIONS: Apply always (default).
- NO_SESSIONS: Never apply.
- PREVIEW_SESSIONS_ONLY: Apply only for "previewed" sessions e.g. to test the addition of a BLOCK_UNMASK rule.
- LIVE_SESSIONS_ONLY: Apply only for non-preview sessions e.g. to test the removal of an BLOCK_EXCLUDE rule.
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
addElementBlocks object[] optional
A CSS selector identifying the elements that this block rule should apply to. Required.
Membership in a privacy rule group. Defaults to 0, means no group.
If true, indicates that it is safe to record these elements in sessions with user consent. Optional. Defaults to false.
Administrator notes about this rule. Optional.
Possible values: [BLOCK_EXCLUDE
, BLOCK_MASK
, BLOCK_UNMASK
]
What type of block rule this is. See Fullstory privacy documentation for details. Optional. Defaults to BLOCK_EXCLUDE.
Possible values: [ALL_SESSIONS
, NO_SESSIONS
, PREVIEW_SESSIONS_ONLY
, LIVE_SESSIONS_ONLY
]
Default value: ALL_SESSIONS
RuleScope is used to limit the scope exclusion rules so a customer can dogfood a rule in "audited" sessions they record themselves before turning the rule on for all of their users.
ruleExceptions object[] optional
CSS selectors identifying elements that this block rule should NOT apply to.
CSS selectors identifying elements that this block rule should NOT apply to.
updateElementBlocks object[] optional
key object optional
Subset of properties from ElementBlockRules used for uniquely identifying the ElementBlockRules. Required.
A CSS selector identifying the elements that this block rule should apply to.
Membership in a privacy rule group. Defaults to 0, means no group.
update object optional
The desired update values for the ElementBlockRules Required.
A CSS selector identifying the elements that this block rule should apply to. Optional. No-op when not provided, or if an empty string is provided.
If true, indicates that it is safe to record these elements in sessions with user consent. Optional. No-op when not provided.
Administrator notes about this rule. Optional. No-op when not provided. Providing an empty string will remove any existing notes.
Possible values: [BLOCK_EXCLUDE
, BLOCK_MASK
, BLOCK_UNMASK
]
What type of block rule this is. See Fullstory privacy documentation for details. Optional. No-op when not provided.
Possible values: [ALL_SESSIONS
, NO_SESSIONS
, PREVIEW_SESSIONS_ONLY
, LIVE_SESSIONS_ONLY
]
The scope of the rule, which determines which sessions are affected. Optional. No-op when not provided.
A list of exceptions identifying elements by CSS selectors that this block rule should NOT apply to. The entire list will be replaced, any existing exceptions will be cleared if not provided, or if an empty array [] is provided.
removeElementBlocks object[] optional
A CSS selector identifying the elements that this block rule should apply to.
Membership in a privacy rule group. Defaults to 0, means no group.
A successful response.
Schema
- Array [
- ALL_SESSIONS: Apply always (default).
- NO_SESSIONS: Never apply.
- PREVIEW_SESSIONS_ONLY: Apply only for "previewed" sessions e.g. to test the addition of a BLOCK_UNMASK rule.
- LIVE_SESSIONS_ONLY: Apply only for non-preview sessions e.g. to test the removal of an BLOCK_EXCLUDE rule.
- Array [
- UID: common
- PLATFORM: a value of schema.PageTypeEnum
- DOMAIN: web related
- APP_VERSION: native mobile related
- BUILD_TYPE: application build variant
- FS_VERSION: application fs instrumentation version
- FS_BUILD_ID: application fs build id
- OS_VERSION: operating system version
- MODEL: device model
- MANUFACTURER: device manufacturer
- Array [
- ]
- ]
- ]
elementBlocks object[] optional
Possible values: [BLOCK_EXCLUDE
, BLOCK_MASK
, BLOCK_UNMASK
]
Possible values: [ALL_SESSIONS
, NO_SESSIONS
, PREVIEW_SESSIONS_ONLY
, LIVE_SESSIONS_ONLY
]
Default value: ALL_SESSIONS
RuleScope is used to limit the scope exclusion rules so a customer can dogfood a rule in "audited" sessions they record themselves before turning the rule on for all of their users.
targetingConditions object optional
privacyTargetingConditions object[] optional
Possible values: [UID
, IP
, LOCATION
, PLATFORM
, DOMAIN
, USER_AGENT
, APP_VERSION
, BUILD_TYPE
, FS_VERSION
, FS_BUILD_ID
, OS_VERSION
, MODEL
, MANUFACTURER
]
identified user
application version string (can be normalized to a numeric value for comparison operators, if in dotted quad form)
Possible values: [EQ
, NEQ
, LT
, LTE
, GT
, GTE
, RANGE
, CONTAINS
]
values object[] optional
versionVal object optional
Possible values: [AND
, OR
]
Possible values: [EDITABLE_ANY
, EDITABLE_DESCRIPTION_ONLY
, EDITABLE_DESCRIPTION_SCOPE_AND_EXCEPTIONS
]
Default value: EDITABLE_ANY
Membership in a privacy rule group. 0 means no group.
{
"element_blocks": [
{
"selector": "input[type=password]",
"consent": false,
"notes": "",
"type": "BLOCK_EXCLUDE",
"scope": "ALL_SESSIONS",
"lastUpdated": "0001-01-01T00:00:00Z",
"label": "",
"targetingConditions": null,
"editable": "EDITABLE_DESCRIPTION_ONLY",
"exceptionSelectors": [],
"groupId": 0
}
]
}