@@ -58,8 +58,8 @@ Rotate a personal access token and retrieve its new value:: | |||
| 58 | 58 | token.rotate() | |
| 59 | 59 | print(token.token) | |
| 60 | 60 | # or directly using a token ID | |
| 61 | - new_token = gl.personal_access_tokens.rotate(42) | ||
| 62 | - print(new_token.token) | ||
| 61 | + new_token_dict = gl.personal_access_tokens.rotate(42) | ||
| 62 | + print(new_token_dict) | ||
| 63 | 63 | ||
| 64 | 64 | Create a personal access token for a user (admin only):: | |
| 65 | 65 | ||
0 commit comments