Authentication Policy Create

Create an organization API key policy.

Request

posthttps://api.cloudsmith.io/v2/orgs/{org}/authentication-policy
Body params optional

Response body

object

object

enforce_refresh
boolean
optional
max_age_hours
integer | null
optional
length ≥ 24
refresh_immediately
boolean
optional

Response

Responses

Created

object

object

enforce_refresh
boolean
optional
max_age_hours
integer | null
optional
length ≥ 24

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1