Skip to main content

CreatePersonalAccessTokenResponse

Properties

NameTypeDescriptionNotes
idstringThe ID of the personal access token (to be used as the username for Basic Auth).[default to undefined]
secretstringThe secret of the personal access token (to be used as the password for Basic Auth).[default to undefined]
scopeArray<string>Scopes of the personal access token.[default to undefined]
namestringThe name of the personal access token. Cannot be the same as other personal access tokens owned by a user.[default to undefined]
ownerPatOwner[default to undefined]
createdstringThe date and time, down to the millisecond, when this personal access token was created.[default to undefined]
accessTokenValiditySecondsnumberNumber of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200.[default to undefined]
expirationDatestringDate and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date.[default to undefined]