diff --git a/api/src/graphql/generated/api/types.ts b/api/src/graphql/generated/api/types.ts index 8aac86bb1..ee709df14 100644 --- a/api/src/graphql/generated/api/types.ts +++ b/api/src/graphql/generated/api/types.ts @@ -1187,7 +1187,7 @@ export type RemoveRoleFromApiKeyInput = { /** Available resources for permissions */ export enum Resource { - APIKEY = 'apikey', + API_KEY = 'api_key', ARRAY = 'array', CLOUD = 'cloud', CONFIG = 'config', diff --git a/api/src/graphql/schema/types/auth/roles.graphql b/api/src/graphql/schema/types/auth/roles.graphql index 57cc67f8e..9c96edfed 100644 --- a/api/src/graphql/schema/types/auth/roles.graphql +++ b/api/src/graphql/schema/types/auth/roles.graphql @@ -2,7 +2,7 @@ Available resources for permissions """ enum Resource { - apikey + api_key array cloud config