Skip to content

Access Scopes

Operations for the Access Scopes service collection.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rust
Rubyv1.4.0

OperationDescription
ListAccessScopesExternalList Access Scopes By ID
QueryAccessScopesExternalQuery Access Scopes and returns IDs

List Access Scopes By ID

Method GET
Route /access-scope-management/entities/access-scopes/v1
Scope Access Scope: READ
ids query · string or list of strings
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import AccessScopes
falcon = AccessScopes(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.list_access_scopes_external(ids=id_list)
print(response)
[
{
"created_at": "string",
"created_by": "string",
"description": "string",
"id": "string",
"name": "string",
"updated_at": "string"
}
]


Query Access Scopes and returns IDs

Method GET
Route /access-scope-management/queries/access-scopes/v1
Scope Access Scope: READ
PEP 8 query_access_scopes_external
filter query · string
A valid FQL filter. Access Scope fields: name, created_by, created_at.
Available values (3)
namecreated_bycreated_at
sort query · string
The sort value.
offset query · integer
The offset value.
limit query · integer
The limit value.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import AccessScopes
falcon = AccessScopes(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_access_scopes_external(filter="string",
sort="string",
offset=integer,
limit=integer)
print(response)
[
"string"
]