Skip to content

ServiceAccountTokenSummary

Source code in docs_src/capo_grafana/types/service_account_token_summary.py
class ServiceAccountTokenSummary(TypedDict, closed=True):
    id: "str"
    """<p>The unique ID of the service account token.</p>"""
    name: "str"
    """<p>The name of the service account token.</p>"""
    created_at: "datetime.datetime"
    """<p>When the service account token was created.</p>"""
    expires_at: "datetime.datetime"
    """<p>When the service account token will expire.</p>"""
    last_used_at: NotRequired["datetime.datetime"]
    """<p>The last time the token was used to authorize a Grafana HTTP API.</p>"""

created_at instance-attribute

created_at: datetime

When the service account token was created.

expires_at instance-attribute

expires_at: datetime

When the service account token will expire.

id instance-attribute

id: str

The unique ID of the service account token.

last_used_at instance-attribute

last_used_at: NotRequired[datetime]

The last time the token was used to authorize a Grafana HTTP API.

name instance-attribute

name: str

The name of the service account token.