Skip to main content
POST
cURL

Body

Versioned country-code preset used by project geobound policies (DSS-650). A shared global reference table: readable by any authenticated user (so they can pick a set) but mutated only by system admins (see GeoBoundCountrySet*View). kind is auto-derived as a ChoiceField from the model choices, so an invalid kind 400s.

slug
string
required
Maximum string length: 96
Pattern: ^[-a-zA-Z0-9_]+$
name
string
required
Maximum string length: 255
description
string
country_codes
string[]
kind
enum<string>
  • allow - Allowlist (permit only these countries)
  • deny - Denylist (block these countries)
Available options:
allow,
deny
source_name
string
Maximum string length: 255
source_url
string<uri>
Maximum string length: 200
source_version
string
Maximum string length: 128
is_system
boolean

Response

201 - application/json

Versioned country-code preset used by project geobound policies (DSS-650). A shared global reference table: readable by any authenticated user (so they can pick a set) but mutated only by system admins (see GeoBoundCountrySet*View). kind is auto-derived as a ChoiceField from the model choices, so an invalid kind 400s.

id
string<uuid>
required
read-only
slug
string
required
Maximum string length: 96
Pattern: ^[-a-zA-Z0-9_]+$
name
string
required
Maximum string length: 255
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
description
string
country_codes
string[]
kind
enum<string>
  • allow - Allowlist (permit only these countries)
  • deny - Denylist (block these countries)
Available options:
allow,
deny
source_name
string
Maximum string length: 255
source_url
string<uri>
Maximum string length: 200
source_version
string
Maximum string length: 128
is_system
boolean