Set-geolocation-attribute (Section)#
Path: /profiles/profile/settings/authentication-service/authentication-actions/authentication-action/set-geolocation-attribute
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| attribute-name | string | optional | geolocation | The name of the attribute to write the resolved geolocation to. This is treated as an attribute path, meaning a name such as ‘requester.geolocation’ creates a nested attribute. The attribute is written only when a country can be resolved for the requester’s IP address; its value is an object with a string ‘countryIsoCode’ field and, when available, a string ‘city’ field. |
| target | enumeration (subject-attributes, context-attributes, action-attributes) | optional | action-attributes | The location where the resolved geolocation attribute is written: Subject attributes, Context attributes or Action attributes. |