diff --git a/models.gen.go b/models.gen.go index 2fb7172..aa05f6a 100644 --- a/models.gen.go +++ b/models.gen.go @@ -306,6 +306,9 @@ type APIKey struct { // Key API key. Will be shown only in the response when creating the key. Key *string `json:"key,omitempty"` + // LastAccessAt Timestamp at which API key was last used - accurate to the day only. + LastAccessAt *time.Time `json:"last_access_at,omitempty"` + // Name Name of the API key Name APIKeyName `json:"name"` diff --git a/spec.json b/spec.json index 62a8860..71d2e5f 100644 --- a/spec.json +++ b/spec.json @@ -8280,6 +8280,12 @@ "format" : "date-time", "type" : "string" }, + "last_access_at" : { + "description" : "Timestamp at which API key was last used - accurate to the day only.", + "example" : "2017-07-14T16:53:42Z", + "format" : "date-time", + "type" : "string" + }, "expired" : { "description" : "Whether the API key has expired or not", "example" : false,