English
Fx.dataAuth
About 551 wordsAbout 2 min
2026-01-09
Summary
The overview of this document is as follows: This document introduces the API definitions of Fx.dataauth, usage methods, and related notes.
1. Batch Revoke Temporary Permissions
Fx.dataAuth.batchDeleteTemporaryPrivilege(<List userIds>, <List outUserIds>, <List describeApiNames>, <List scenes>, <List dataIds>, <Map createTimeRange>, <Map expiryTimeRange>)
Request parameters
Request Body
| Parameter Name | object | Description | Required |
|---|---|---|---|
| userIds | List[string] | Collection of authorized user IDs | -- |
| outUserIds | List[string] | Collection of external authorized user IDs | -- |
| describeApiNames | List[string] | Collection of associated object apiNames | -- |
| scenes | List[string] | Collection of associated workflows. Valid values: approval (approval flow), bpm (business process), stage (stage accelerator), freeflow (free workflow), free_approvalflow (free approval flow), QIXIN (forward to QIXIN), CALL_CENTER (call center) | -- |
| dataIds | List[string] | Collection of data IDs | -- |
| createTimeRange | Map | Combination of authorization start time conditions. Currently supported comparison operators: EQ, N, LT, GT, LTE, GTE, BETWEEN. One or multiple conditions can be specified, with multiple conditions being in AND relationship. | -- |
| createTimeRange | Map | Combination of authorization start time conditions. Currently supported comparison operators: EQ, N, LT, GT, LTE, GTE, BETWEEN. One or multiple conditions can be specified, with multiple conditions being in AND relationship. | Required |
|---|---|---|---|
| EQ | Map | Equal to, queryTime is required | -- |
| N | Map | Not equal to, queryTime is required | -- |
| LT | Map | Earlier than, endTime is required | -- |
| GT | Map | Later than, startTime is required | -- |
| LTE | Map | Earlier than or equal to, endTime is required | -- |
| GTE | Map | Later than or equal to, startTime is required | -- |
| BETWEEN | Map | Time range, both startTime and endTime are required | -- |
| EQ | Map | Equal to, queryTime is required | Required |
|---|---|---|---|
| queryTime | integer | -- |
| N | Map | Not equal to, queryTime is required | Required |
|---|---|---|---|
| queryTime | integer | -- |
| LT | Map | Earlier than, endTime is required | Required |
|---|---|---|---|
| endTime | integer | -- |
| GT | Map | Later than, startTime is required | Required |
|---|---|---|---|
| startTime | integer | -- |
| LTE | Map | Earlier than or equal to, endTime is required | Required |
|---|---|---|---|
| endTime | integer | -- |
| GTE | Map | Later than or equal to, startTime is required | Required |
|---|---|---|---|
| startTime | integer | -- |
| BETWEEN | Map | Time range, both startTime and endTime are required | Required |
|---|---|---|---|
| startTime | integer | -- | |
| endTime | integer | -- |
Code examples
List userIds = [
"1000"
]
List outUserIds = [
"300090116"
]
List describeApiNames = [
"MarketingEventObj"
]
List scenes = [
"approval"
]
List dataIds = [
"67c947edf40e650007e814e0"
]
Map createTimeRange = [
"EQ": [
"queryTime":1741244398760
]
]
Map expiryTimeRange = [
"EQ": [
"queryTime":1741244398760
]
]
def(boolean error, Map data, String message) = Fx.dataAuth.batchDeleteTemporaryPrivilege(userIds, outUserIds, describeApiNames, scenes, dataIds, createTimeRange, expiryTimeRange)
if (error) {
log.info("error: " + message)
} else {
log.info(data)
}Notice
- The set of authorized personnel IDs (either authorized personnel IDs or external authorized personnel IDs), the set of target object apiNames, the set of associated processes, the set of data IDs, the authorization start time condition, and the authorization end time condition cannot all be empty simultaneously.
Owner:杨华国YHG
Changelog
| Version | Date | Changes | Author |
|---|---|---|---|
| v1.0 | 2026-05-20 | Initial version |
Background
This document provides detailed information about the Fx.dataAuth API functionality and usage, helping developers integrate relevant capabilities.
Applicable Scenarios
Specific applicable scenarios are determined by actual business needs. Developers can select the appropriate API for integration as required.
Prerequisites
- Access to Fxiaoke Open Platform
- Application authorization and configuration completed
- Basic knowledge of relevant business domain
Steps
Please refer to the detailed instructions for each API.
Notes
- Ensure prerequisites are met before calling APIs
- Pay attention to API call frequency limits
- Refer to error code documentation for exception handling
Compatibility note: This version currently has no deprecated or compatibility notes.
