Skip to main content

Set expected locations for a user

PUT 

/api/web/v1/users/:userid/expectedlocations

Sets the list of expected locations for the specified user. Caller requires the USERRBASETTINGS:EDIT permission.

Request

Path Parameters

    userid stringrequired

    The UUID of the user whose expected locations will be updated.

Body

array

required

  • Array [

  • city string

    The city name--always returned in upper-case.

    countryCode string

    A two-character (alpha-2) ISO 3166-1 country code.

    id string

    The UUID of this expected location.

    ipAddress string

    The IPv4 Address.

    isp string

    The ISP name--always returned in upper-case.

    privateIpAddress boolean

    Whether the IP provided is a private IP Address. The value is ignored when adding an ExpectedLocation. It is returned when getting ExpectedLocations if the location has an IP address defined

  • ]

Responses

Successful

Loading...