Update personal access token policy settings

Update personal access token policy settings. Only organization administrators are authorized to perform this action.

patch
https://global.api.konghq.com/v3/organizations/{organizationId}/personal-access-token-settings

Path Parameters

organizationIdstring(uuid)requiredread-only

UUID representing an organization.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Body

application/json

Request body schema for updating personal access token settings.

pats_enabledboolean
max_expiration_period_daysinteger

>= 1<= 365

Response

application/json

Response containing personal access token settings.

* Additional properties are NOT allowed.
pats_enabledbooleanrequired

Default:true

max_expiration_period_daysintegerrequired

>= 1<= 365

patch/organizations/{organizationId}/personal-access-token-settings

Body

{ "pats_enabled": true, "max_expiration_period_days": 365 }
 
application/json

MaxPATExpirationPeriodDays

integer

>= 1<= 365

UUID

string

Contains a unique identifier used for this resource.

Example

OrganizationId

string

UUID representing an organization.

Example

StringFieldEqualsFilter

Filters on the given string field value by exact match.

eqstring
Example