Snowflake account API

The account API from Snowflake — 3 operation(s) for account.

Operations 4

GET /api/v2/accounts List Accounts. #
POST /api/v2/accounts Create an Account. #
DELETE /api/v2/accounts/{name} Delete an Account. #
POST /api/v2/accounts/{name}:undrop Restore an Account. #

Documentation

📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/account
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/alert
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/api-integration
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/catalog-integration
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/compute-pool
📖
Documentation
https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst/rest-api
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/cortex-inference
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/cortex-search-service
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/database-role
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/database
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/dynamic-table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/event-table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/external-volume
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/function
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/grant
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/iceberg-table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/image-repository
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/managed-account
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/network-policy
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/notebook
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/notification-integration
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/pipe
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/procedure
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/result
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/role
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/schema
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/service
📖
Documentation
https://docs.snowflake.com/en/developer-guide/sql-api/index
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/stage
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/stream
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/table
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/task
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/user-defined-function
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/user
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/view
📖
Documentation
https://docs.snowflake.com/en/developer-guide/snowflake-rest-api/reference/warehouse

Specifications

Schemas & Data

Other Resources

🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/account-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/alert-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/api-integration-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/catalog-integration-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/compute-pool-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/cortex-analyst-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/cortex-inference-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/cortex-search-service-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/database-role-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/database-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/dynamic-table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/event-table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/external-volume-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/function-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/grant-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/iceberg-table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/image-repository-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/managed-account-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/network-policy-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/notebook-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/notification-integration-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/pipe-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/procedure-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/role-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/schema-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/service-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/sqlapi-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/snowflake-sql-rest-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/stage-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/stream-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/table-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/task-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/user-defined-function-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/user-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/view-context.jsonld
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/json-ld/warehouse-context.jsonld
🔗
Overlay
https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/overlays/snowflake-account-overlay.yaml

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snowflake-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snowflake-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snowflake Account API
  version: 0.0.1
  contact:
    name: Snowflake, Inc.
    url: https://snowflake.com
    email: support@snowflake.com
  description: 'Operations tagged account across 2 of this provider''s published API definitions: account.yaml, account.yaml. Each path carries the servers of the definition it was published in.'
servers:
- description: Snowflake Account API
  url: https://org-account.snowflakecomputing.com
tags:
- name: account
paths:
  /api/v2/accounts:
    get:
      summary: List Accounts.
      tags:
      - account
      description: Lists the accessible accounts.
      operationId: listAccounts
      parameters:
      - $ref: common.yaml#/components/parameters/like
      - $ref: common.yaml#/components/parameters/showLimit
      - name: history
        in: query
        description: Optionally includes dropped accounts that have not yet been purged.
        schema:
          type: boolean
        example: true
      responses:
        '200':
          description: Successful request.
          headers:
            X-Snowflake-Request-ID:
              $ref: common.yaml#/components/headers/X-Snowflake-Request-ID
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Account'
              examples:
                Listaccounts200Example:
                  summary: Default listAccounts 200 response
                  x-microcks-default: true
                  value:
                  - organization_name: example_value
                    name: {}
                    region_group: example_value
                    region: example_value
                    edition: STANDARD
                    created_on: '2026-01-15T10:30:00Z'
                    account_url: https://www.example.com
                    account_locator: example_value
                    account_locator_url: https://www.example.com
                    managed_accounts: 10
                    consumption_billing_entity_name: example_value
                    marketplace_consumer_billing_entity_name: example_value
                    marketplace_provider_billing_entity_name: example_value
                    old_account_url: https://www.example.com
                    comment: example_value
                    is_org_admin: true
                    retention_time: 10
                    dropped_on: '2026-01-15T10:30:00Z'
                    scheduled_deletion_time: '2026-01-15T10:30:00Z'
                    restored_on: '2026-01-15T10:30:00Z'
                    account_old_url_saved_on: '2026-01-15T10:30:00Z'
                    account_old_url_last_used: '2026-01-15T10:30:00Z'
                    organization_old_url: https://www.example.com
                    organization_old_url_saved_on: '2026-01-15T10:30:00Z'
                    organization_old_url_last_used: '2026-01-15T10:30:00Z'
                    organization_URL_expiration_on: '2026-01-15T10:30:00Z'
                    moved_on: '2026-01-15T10:30:00Z'
                    is_events_account: true
                    moved_to_organization: example_value
                    admin_name: example_value
                    admin_password: example_value
                    admin_rsa_public_key: example_value
                    admin_user_type: example_value
                    first_name: example_value
                    last_name: example_value
                    email: user@example.com
                    must_change_password: true
                    polaris: true
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - KeyPair: []
      - ExternalOAuth: []
      - SnowflakeOAuth: []
    post:
      summary: Create an Account.
      tags:
      - account
      description: Creates a account. You must provide the full account definition when creating a account.
      operationId: createAccount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Account'
            examples:
              CreateaccountRequestExample:
                summary: Default createAccount request
                x-microcks-default: true
                value:
                  organization_name: example_value
                  name: {}
                  region_group: example_value
                  region: example_value
                  edition: STANDARD
                  created_on: '2026-01-15T10:30:00Z'
                  account_url: https://www.example.com
                  account_locator: example_value
                  account_locator_url: https://www.example.com
                  managed_accounts: 10
                  consumption_billing_entity_name: example_value
                  marketplace_consumer_billing_entity_name: example_value
                  marketplace_provider_billing_entity_name: example_value
                  old_account_url: https://www.example.com
                  comment: example_value
                  is_org_admin: true
                  retention_time: 10
                  dropped_on: '2026-01-15T10:30:00Z'
                  scheduled_deletion_time: '2026-01-15T10:30:00Z'
                  restored_on: '2026-01-15T10:30:00Z'
                  account_old_url_saved_on: '2026-01-15T10:30:00Z'
                  account_old_url_last_used: '2026-01-15T10:30:00Z'
                  organization_old_url: https://www.example.com
                  organization_old_url_saved_on: '2026-01-15T10:30:00Z'
                  organization_old_url_last_used: '2026-01-15T10:30:00Z'
                  organization_URL_expiration_on: '2026-01-15T10:30:00Z'
                  moved_on: '2026-01-15T10:30:00Z'
                  is_events_account: true
                  moved_to_organization: example_value
                  admin_name: example_value
                  admin_password: example_value
                  admin_rsa_public_key: example_value
                  admin_user_type: example_value
                  first_name: example_value
                  last_name: example_value
                  email: user@example.com
                  must_change_password: true
                  polaris: true
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - KeyPair: []
      - ExternalOAuth: []
      - SnowflakeOAuth: []
    servers:
    - description: Snowflake Account API
      url: https://org-account.snowflakecomputing.com
  /api/v2/accounts/{name}:
    delete:
      summary: Delete an Account.
      tags:
      - account
      description: Deletes the specified account. If you enable the `ifExists` parameter, the operation succeeds even if the account does not exist. Otherwise, a 404 failure is returned if the account does not exist. if the drop is unsuccessful.
      operationId: deleteAccount
      parameters:
      - $ref: common.yaml#/components/parameters/name
      - $ref: common.yaml#/components/parameters/ifExists
      - name: gracePeriodInDays
        in: query
        description: Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days.
        schema:
          type: integer
        required: true
        example: 10
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - KeyPair: []
      - ExternalOAuth: []
      - SnowflakeOAuth: []
    servers:
    - description: Snowflake Account API
      url: https://org-account.snowflakecomputing.com
  /api/v2/accounts/{name}:undrop:
    post:
      summary: Restore an Account.
      tags:
      - account
      description: Restores a dropped account that has not yet been permanently deleted (a dropped account that is within its grace period).
      operationId: UndropAccount
      parameters:
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - KeyPair: []
      - ExternalOAuth: []
      - SnowflakeOAuth: []
    servers:
    - description: Snowflake Account API
      url: https://org-account.snowflakecomputing.com
components:
  schemas:
    Account:
      type: object
      description: Snowflake account object.
      properties:
        organization_name:
          type: string
          readOnly: true
          description: Name of the organization.
          example: example_value
        name:
          $ref: ./common.yaml#/components/schemas/Identifier
          description: User-defined name that identifies an account within the organization.
        region_group:
          type: string
          description: Region group where the account is located. Note - This column is only displayed for organizations that span multiple region groups.
          example: example_value
        region:
          type: string
          description: Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
          example: example_value
        edition:
          type: string
          description: Snowflake Edition of the account.
          enum:
          - STANDARD
          - ENTERPRISE
          - BUSINESS_CRITICAL
          example: STANDARD
        created_on:
          type: string
          format: date-time
          readOnly: true
          description: Date and time the account was created.
          example: '2026-01-15T10:30:00Z'
        account_url:
          type: string
          readOnly: true
          description: Preferred Snowflake account URL that includes the values of organization_name and account_name.
          example: https://www.example.com
        account_locator:
          type: string
          readOnly: true
          description: System-assigned identifier of the acccount.
          example: example_value
        account_locator_url:
          type: string
          readOnly: true
          description: Legacy Snowflake account URL syntax that includes the region_name and account_locator.
          example: https://www.example.com
        managed_accounts:
          type: integer
          readOnly: true
          format: int64
          description: Indicates how many managed accounts have been created by the account.
          example: 10
        consumption_billing_entity_name:
          type: string
          readOnly: true
          description: Name of the consumption billing entity.
          example: example_value
        marketplace_consumer_billing_entity_name:
          type: string
          readOnly: true
          description: Name of the marketplace consumer billing entity.
          example: example_value
        marketplace_provider_billing_entity_name:
          type: string
          readOnly: true
          description: Name of the marketplace provider billing entity.
          example: example_value
        old_account_url:
          type: string
          readOnly: true
          description: If the original account URL was saved when the account was renamed, provides the original URL. If the original account URL was dropped, the value is NULL even if the account was renamed
          example: https://www.example.com
        comment:
          type: string
          description: Optional comment in which to store information related to the account.
          example: example_value
        is_org_admin:
          type: boolean
          readOnly: true
          description: Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
          example: true
        retention_time:
          type: integer
          readOnly: true
          description: Number of days that historical data is retained for Time Travel.
          example: 10
        dropped_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time the account was dropped.
          example: '2026-01-15T10:30:00Z'
        scheduled_deletion_time:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time when the account is scheduled to be permanently deleted. Accounts are deleted within one hour after the scheduled time.
          example: '2026-01-15T10:30:00Z'
        restored_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time when the account was last restored.
          example: '2026-01-15T10:30:00Z'
        account_old_url_saved_on:
          type: string
          format: date-time
          readOnly: true
          description: If the original account URL was saved when the account was renamed, provides the date and time when the original account URL was saved.
          example: '2026-01-15T10:30:00Z'
        account_old_url_last_used:
          type: string
          format: date-time
          readOnly: true
          description: If the original account URL was saved when the account was renamed, indicates the last time the account was accessed using the original URL.
          example: '2026-01-15T10:30:00Z'
        organization_old_url:
          type: string
          readOnly: true
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the original account URL. If the original account URL was dropped, the value is NULL even if the organization changed.
          example: https://www.example.com
        organization_old_url_saved_on:
          type: string
          readOnly: true
          format: date-time
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the date and time when the original account URL was saved.
          example: '2026-01-15T10:30:00Z'
        organization_old_url_last_used:
          type: string
          readOnly: true
          format: date-time
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, indicates the last time the account was accessed using the original account URL.
          example: '2026-01-15T10:30:00Z'
        organization_URL_expiration_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the date and time when the original account URL will be dropped. Dropped URLs cannot be used to access the account.
          example: '2026-01-15T10:30:00Z'
        moved_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time when the account was moved to a different organization.
          example: '2026-01-15T10:30:00Z'
        is_events_account:
          type: boolean
          readOnly: true
          description: Indicates whether an account is an events account. For more information, see Set up logging and event sharing for an application.
          example: true
        moved_to_organization:
          type: string
          readOnly: true
          description: If the account was moved to a different organization, provides the name of that organization.
          example: example_value
        admin_name:
          type:
          - string
          - 'null'
          description: Name of the account administrator.
          writeOnly: true
          example: example_value
        admin_password:
          type: string
          description: Password for the account administrator.
          writeOnly: true
          format: password
          example: example_value
        admin_rsa_public_key:
          type: string
          description: RSA public key for the account administrator.
          writeOnly: true
          format: password
          example: example_value
        admin_user_type:
          type: string
          description: User type of the account administrator.
          writeOnly: true
          example: example_value
        first_name:
          type: string
          description: First name of the account administrator.
          writeOnly: true
          example: example_value
        last_name:
          type: string
          description: Last name of the account administrator.
          writeOnly: true
          example: example_value
        email:
          type:
          - string
          - 'null'
          description: Email address of the account administrator.
          writeOnly: true
          example: user@example.com
        must_change_password:
          type: boolean
          description: Indicates whether the account administrator must change the password at the next login.
          default: false
          writeOnly: true
          example: true
        polaris:
          type: boolean
          description: Indicates whether the account is a Polaris account.
          default: false
          writeOnly: true
          example: true
      required:
      - name
      - admin_name
      - email
      - edition
    Account_2:
      type: object
      description: Snowflake account object.
      properties:
        organization_name:
          type: string
          readOnly: true
          description: Name of the organization.
        name:
          $ref: ./common.yaml#/components/schemas/Identifier
          description: User-defined name that identifies an account within the organization.
        region_group:
          type: string
          description: Region group where the account is located. Note - This column is only displayed for organizations that span multiple region groups.
        region:
          type: string
          description: Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
        edition:
          type: string
          description: Snowflake Edition of the account. Possible values to use when creating an account include STANDARD, ENTERPRISE, and BUSINESS_CRITICAL.
        created_on:
          type: string
          format: date-time
          readOnly: true
          description: Date and time the account was created.
        account_url:
          type: string
          readOnly: true
          description: Preferred Snowflake account URL that includes the values of organization_name and account_name.
        account_locator:
          type: string
          readOnly: true
          description: System-assigned identifier of the acccount.
        account_locator_url:
          type: string
          readOnly: true
          description: Legacy Snowflake account URL syntax that includes the region_name and account_locator.
        managed_accounts:
          type: integer
          readOnly: true
          format: int64
          description: Indicates how many managed accounts have been created by the account.
        consumption_billing_entity_name:
          type: string
          readOnly: true
          description: Name of the consumption billing entity.
        marketplace_consumer_billing_entity_name:
          type: string
          readOnly: true
          description: Name of the marketplace consumer billing entity.
        marketplace_provider_billing_entity_name:
          type: string
          readOnly: true
          description: Name of the marketplace provider billing entity.
        old_account_url:
          type: string
          readOnly: true
          description: If the original account URL was saved when the account was renamed, provides the original URL. If the original account URL was dropped, the value is NULL even if the account was renamed
        comment:
          type: string
          description: Optional comment in which to store information related to the account.
        is_org_admin:
          type: boolean
          readOnly: true
          description: Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled.
        retention_time:
          type: integer
          readOnly: true
          description: Number of days that historical data is retained for Time Travel.
        dropped_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time the account was dropped.
        scheduled_deletion_time:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time when the account is scheduled to be permanently deleted. Accounts are deleted within one hour after the scheduled time.
        restored_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time when the account was last restored.
        account_old_url_saved_on:
          type: string
          format: date-time
          readOnly: true
          description: If the original account URL was saved when the account was renamed, provides the date and time when the original account URL was saved.
        account_old_url_last_used:
          type: string
          format: date-time
          readOnly: true
          description: If the original account URL was saved when the account was renamed, indicates the last time the account was accessed using the original URL.
        organization_old_url:
          type: string
          readOnly: true
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the original account URL. If the original account URL was dropped, the value is NULL even if the organization changed.
        organization_old_url_saved_on:
          type: string
          readOnly: true
          format: date-time
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the date and time when the original account URL was saved.
        organization_old_url_last_used:
          type: string
          readOnly: true
          format: date-time
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, indicates the last time the account was accessed using the original account URL.
        organization_URL_expiration_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the date and time when the original account URL will be dropped. Dropped URLs cannot be used to access the account.
        moved_on:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: Date and time when the account was moved to a different organization.
        is_events_account:
          type: boolean
          readOnly: true
          description: Indicates whether an account is an events account. For more information, see Set up logging and event sharing for an application.
        moved_to_organization:
          type: string
          readOnly: true
          description: If the account was moved to a different organization, provides the name of that organization.
        admin_name:
          type:
          - string
          - 'null'
          description: Name of the account administrator.
          writeOnly: true
        admin_password:
          type: string
          description: Password for the account administrator.
          writeOnly: true
          format: password
        admin_rsa_public_key:
          type: string
          description: RSA public key for the account administrator.
          writeOnly: true
          format: password
        admin_user_type:
          type: string
          description: User type of the account administrator.
          writeOnly: true
        first_name:
          type: string
          description: First name of the account administrator.
          writeOnly: true
        last_name:
          type: string
          description: Last name of the account administrator.
          writeOnly: true
        email:
          type:
          - string
          - 'null'
          description: Email address of the account administrator.
          writeOnly: true
        must_change_password:
          type: boolean
          description: Indicates whether the account administrator must change the password at the next login.
          default: false
          writeOnly: true
        polaris:
          type: boolean
          description: Indicates whether the account is a Polaris account.
          default: false
          writeOnly: true
      required:
      - name
      - admin_name
      - email
      - edition
  securitySchemes:
    KeyPair:
      $ref: common.yaml#/components/securitySchemes/KeyPair
    ExternalOAuth:
      $ref: common.yaml#/components/securitySchemes/ExternalOAuth
    SnowflakeOAuth:
      $ref: common.yaml#/components/securitySchemes/SnowflakeOAuth
    ProgrammaticAccessToken:
      $ref: common.yaml#/components/securitySchemes/ProgrammaticAccessToken
x-refined-from:
- account.yaml
- account.yaml