The createOrganizationPermissionsToken() GraphQL mutation field is used to create an organization permissions token for organizational-level access.

For more information on organization settings, see the Organization Settings documentation page. You may also want to look at the Manage users & permissions page for related information. For information on access tokens of various types, see the Ingest Tokens documentation page.

hosted-logscale-organization-settings

Syntax

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

graphql
createOrganizationPermissionsToken(
      input: CreateOrganizationPermissionTokenInput!
   ): string!

Given Datatypes

For the input CreateOrganizationPermissionTokenInput, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: CreateOrganizationPermissionTokenInput

ParameterTypeRequiredDefaultDescription
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: Sep 17, 2024
expireAtlong  When the organization permission token will expire.
ipFilterIdstring  The unique identifier for the related IP filter.
namestringyes The name of the organization token.
permissions[OrganizationPermission]yes A list of permissions for the organization. See OrganizationPermission.