admin api: mention admin_token and metrics_token in ListAdminTokensResponse

This commit is contained in:
Alex Auvolat
2025-03-11 15:57:29 +01:00
parent 9511b20153
commit ec0da3b644
3 changed files with 33 additions and 5 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ pub struct GetAdminTokenInfoRequest {
#[serde(rename_all = "camelCase")]
pub struct GetAdminTokenInfoResponse {
/// Identifier of the admin token (which is also a prefix of the full bearer token)
pub id: String,
pub id: Option<String>,
/// Name of the admin API token
pub name: String,
/// Expiration time and date, formatted according to RFC 3339