Personal Access Tokens

Update personal access token policy settings

Changed on

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

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

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

organizationId, string uuid required

UUID representing an organization

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

A UUID representing an organization.

Request body

object required
pats_enabled, boolean nullable
max_expiration_period_days, integer

Response

Response containing personal access token settings.

object required
pats_enabled, boolean required
max_expiration_period_days, integer required

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status