admin

Save GeoIP database path

Changed on

An empty path clears the configuration. The path may be saved even when the database file is not available yet; the returned status describes the current filesystem state. This endpoint requires admin access

post/ocs/v2.php/apps/libresign/api/{apiVersion}/admin/geoip

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

apiVersion'v1' required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

pathstring

Absolute path to a MaxMind City database, or empty to clear

Response

GeoIP configuration saved

Changes