Allows anonymous access to a Task. The user’s roles are taken from the API policy’s configuration.
Best Practices
Since this API policy allows anonymous access include a Client Throttling policy to restrict the number of anonymous requests to prevent a Snaplex from being overloaded by too many requests.
Parameter Name | Description | Default Value | Example |
---|---|---|---|
Label | Required. The name for the API policy. | Anonymous Authenticator | Project - Anonymous Authenticator |
When this policy should be applied | An expression enabled field that determines the condition to be fulfilled for the API policy to execute. For example, if the value in this field is request.method == "POST", the API policy is executed only if the request method is a POST. | N/A | request.method == "POST" |
Roles | Required. A list of role names to be assigned to the client making the request. Click + to add roles.
| N/A | N/A |
Role | The name of the role. | anonymous | anonymous |
Status | Specifies whether the API policy is enabled or disabled. | Enabled | Disabled |