PersonalAccessTokenCreateResponse

object

Details of the created personal access token.

idstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

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

user_idstring(uuid)requiredread-only

Contains a unique identifier used for a user.

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

namestringrequired
statestringrequiredread-only

State of the personal access token.

Allowed values:ACTIVEREVOKEDEXPIRED

konnect_tokenstringrequired

The Konnect token used to authenticate with Konnect.

revoked_bystring(uuid)read-only

Contains a unique identifier used for the user that revoked this token.

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

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

last_used_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity last used date.

Example:2022-11-04T20:10:06.927Z

expires_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity expiration date.

Example:2022-11-04T20:10:06.927Z

revoked_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity revoked at date.

Example:2022-11-04T20:10:06.927Z

Example

Error

object

standard error

statusintegerrequiredread-only

The HTTP status code of the error. Useful when passing the response
body to child properties in a frontend UI. Must be returned as an integer.

titlestringrequiredread-only

A short, human-readable summary of the problem. It should not
change between occurences of a problem, except for localization.
Should be provided as “Sentence case” for direct use in the UI.

typestringread-only

The error type.

instancestringrequiredread-only

Used to return the correlation ID back to the user, in the format
kong:trace:<correlation_id>. This helps us find the relevant logs
when a customer reports an issue.

detailstringrequiredread-only

A human readable explanation specific to this occurence of the problem.
This field may contain request/entity data to help the user understand
what went wrong. Enclose variable values in square brackets. Should be
provided as “Sentence case” for direct use in the UI.

Example

InvalidRules

string

invalid parameters rules

Allowed values:requiredis_arrayis_base64is_booleanis_date_timeis_integeris_nullis_numberis_objectis_stringis_uuidis_fqdnis_arnunknown_propertymissing_referenceis_labelmatches_regexinvalidis_supported_network_availability_zone_listis_supported_network_cidr_blockis_supported_provider_regiontype

InvalidParameterStandard

object
* Additional properties are NOT allowed.
fieldstringrequiredread-only

Example:name

rulestringread-only

invalid parameters rules

Allowed values:requiredis_arrayis_base64is_booleanis_date_timeis_integeris_nullis_numberis_objectis_stringis_uuidis_fqdnis_arnunknown_propertymissing_referenceis_labelmatches_regexinvalidis_supported_network_availability_zone_listis_supported_network_cidr_blockis_supported_provider_regiontype

sourcestring

Example:body

reasonstringrequiredread-only

Example:is a required field

Example

InvalidParameterMinimumLength

object
* Additional properties are NOT allowed.
fieldstringrequiredread-only

Example:name

rulestringrequiredread-only

invalid parameters rules

Allowed values:min_lengthmin_digitsmin_lowercasemin_uppercasemin_symbolsmin_itemsmin

minimumintegerrequired

Example:8

sourcestring

Example:body

reasonstringrequiredread-only

Example:must have at least 8 characters

Example