Geoip

Repos Geoip Update

Replace repository geoip rules.

Request

puthttps://api.cloudsmith.io/v1/repos/{owner}/{identifier}/geoip
Body params optional

Response body

object

object

cidr
object
required
country_code
object
required

Response

Responses

OK

object

object

cidr
object
required
country_code
object
required

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Geo/IP restrictions are not available; upgrade your account!

object

object

detail
string
required
length ≥ 1
fields
object
optional

Owner namespace or repository not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional