diff --git a/resource_organizations.go b/resource_organizations.go index 5fd7147..8a8e93c 100644 --- a/resource_organizations.go +++ b/resource_organizations.go @@ -75,6 +75,9 @@ func (client *Client) GetOrganizationBySlug(ctx context.Context, slug string) (* id name expiresAt + user { + email + } } } } diff --git a/resource_tokens.go b/resource_tokens.go index 4e57cb6..348774d 100644 --- a/resource_tokens.go +++ b/resource_tokens.go @@ -13,6 +13,9 @@ func (c *Client) GetAppLimitedAccessTokens(ctx context.Context, appName string) id name expiresAt + user { + email + } } } } diff --git a/types.go b/types.go index 94be33a..3f8836c 100644 --- a/types.go +++ b/types.go @@ -255,6 +255,7 @@ type LimitedAccessToken struct { Id string Name string ExpiresAt time.Time + User User } type AppCertsCompact struct {