Get personal access token policy settings
Get personal access token policy settings. Only organization administrators are authorized to perform this action.
get
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
Response
application/json
Response
application/json
Response containing personal access token settings.
* Additional properties are NOT allowed.
pats_enabledbooleanrequired
Default:true
max_expiration_period_daysintegerrequired
>= 1<= 365
get/organizations/{organizationId}/personal-access-token-settings
Authentication
Path Parameters
application/json
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
Body
application/json
Request body schema for updating personal access token settings.
pats_enabledboolean
max_expiration_period_daysinteger
>= 1<= 365
Response
application/json
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
Authentication
Path Parameters
Body
{
"pats_enabled": true,
"max_expiration_period_days": 365
}
application/json
MaxPATExpirationPeriodDays
integer>= 1<= 365
UUID
stringContains a unique identifier used for this resource.
Example
OrganizationId
stringUUID representing an organization.
Example