API - Ignore Security Filter?

How would I instruct an incoming API to ignore the security filters?

@Martin_Pace

0 5 198
5 REPLIES 5

@Grant_Stead
You mean AppSheet API call or a third party REST API call?

I belive below expression might do the trick @Grant_Stead. Try it in your Security Filter

IFS(
    CONTEXT("Device") = "Server", TRUE,
    TRUE,
    //Your security filter expression goes here
)

Itโ€™s incoming from a Google Cloud Functionโ€ฆ

Great mindsโ€ฆ
Thatโ€™s what Iโ€™m trying right now.
IF(
CONTEXT(โ€œHostโ€)=โ€œServerโ€, TRUE,
security expressions
)

Curious why you went with an IFS?

I got used to that IFSโ€ฆAddicted I believe

FYI it appears that sync and security expresions are always handled by the server, so far as the context expression is concerned. So that didnโ€™t work. I made up a fake API USEREMAILโ€ฆ Put that in run as user, and put it in the security filterโ€ฆ
@Phil is there a better method for dealing with security filters during API injections?

Top Labels in this Space