acceptTermsAndConditions()

API Stability Long-Term

The acceptTermsAndConditions() GraphQL mutation field is used by the client to accept LogScale's Terms and Conditions, without providing any additional information.

For more information, see the Terms and Conditions page on CrowdStrike's site.

Syntax

Below is the syntax for the acceptTermsAndConditions() mutation field:

graphql
acceptTermsAndConditions: Account!

There's no input, per se. You just execute the mutation field and it, along with authentication behind the scenes, is enough. You can stipulate return parameters to get information on the account, though. They're listed in the Returned Datatypes section on this page.

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  acceptTermsAndConditions
     {company, username, enabledFeaturesForAccount}
}
Example Responses
Show:
json
{
  "data": {
    "acceptTermsAndConditions": {
      "company": "Company",
      "username": "bob@company.com",
      "enabledFeaturesForAccount": [
        "CookieAuthServerSide",
        "DefaultRolesForGroups",
        "FieldAliasing",
        "FleetCollectorDebugLogging",
        "FleetCollectorMetrics",
        "FleetEphemeralHosts",
        "FleetRemoteUpdates",
        "InternalSubmissionRouting",
        "LiveTables",
        "LogAverageUsage",
        "MacosInstallerForLogCollector",
        "OrganizationSecurityPolicies",
        "PermissionTokens",
        "PreMergeMiniSegments",
        "QueryBacktrackingLimit",
        "WriteNewSegmentFileFormat"
      ]
    }
  }
}

Returned Datatypes

For Account, there are several parameters. Below is a list of them and a description of each:

Table: Account

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Nov 12, 2024
announcementNotification  Long-TermAny announcements for the account. See Notification.
canCreateCloudTrialRepobooleanyes Long-TermWhether the account may create a cloud trial repository.
canCreateRepobooleanyes Long-TermWhether the account can create a repository.
companystring  Long-TermThe name of the company for the account.
countryCodestring  Long-TermThe two-letter ISO 3166-1 Alpha-2 code for the country of residence (e.g., us).
createdAtdatetimeyes Long-TermThe data and time the account was created.
currentOrganizationOrganizationyes Long-TermInformation on the Organization. See Organization.
emailstring  Long-TermThe account's email address for communications from LogScale.
enabledFeaturesForAccount[FeatureFlag]yes Long-TermFeatures that are enabled for the account. See FeatureFlag.
externalGroupSynchronizationbooleanyes Long-TermWhether there is group synchronization.
externalPermissionsbooleanyes Long-TermWhether permissions are managed externally.
fieldConfigurationsmultipleyes Long-TermThe name of the view, as well as fields and how to configure them. The multiple datatype consists of (viewName: string): [FieldConfiguration]. See FieldConfiguration.
firstNamestring  Long-TermThe user's actual first name (e.g., Bob). Don't use with fullName.
fullNamestring  Long-TermThe user's full name (e.g., Bob Smith). Don't use if using other name parameters.
idstringyes Long-TermThe unique identifier for the account.
isCloudProAccountbooleanyes Long-TermWhether the account is a cloud professional account.
isOrganizationRootbooleanyes Long-TermWhether the organization is granted root access.
isRootbooleanyes Long-TermWhether the account is granted root access.
lastNamestring  Long-TermThe user's actual last name or family name (e.g., Smith). Don't use with fullName.
notificationsV2multipleyes PreviewNotifications for account. The multiple datatype consists of (typeFilter: [NotificationTypes], orderBy: OrderBy, skip: integer, limit: integer): NotificationsResultSet. See NotificationTypes and NotificationsResultSet. This is a preview and subject to change. New sorting and filtering options might be added.
phoneNumberstring  Long-TermThe telephone number for LogScale to use for telephone text messages.
picturestring  Long-TermFile name of an image file for the account.
settingsUserSettingsyes Long-TermVarious default settings for user accounts. See UserSettings.
stateCodestring  Long-TermThe two-letter, ISO 3166-2 country sub-division code for the state of residence (e.g., ny).
tokenPersonalUserToken  Long-TermThe personal user token table for the account. See PersonalUserToken.
usernamestringyes Long-TermThe user name for the account.