PersonalAccessTokens

Update a personal access token

Changed on

Updates the specified personal access token by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

patch/v3/personal-access-tokens/{id}

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/personal-access-tokens/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Unique identifier for the personal access token.

Request body

revokedboolean required

Set true to revoke the token.

Response

OK

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
expiresAtstring date-time nullable
revokedboolean required
scopesstring[] required
teamMemberIdstring required
environmentIdstring uuid nullable
lastUsedAtstring date-time nullable
lastRotatedAtstring date-time nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status