Grist users API

Grist users.

Operations 3

DELETE /users/{userId} Delete a user from Grist #
POST /users/{userId}/disable Disable a user #
POST /users/{userId}/enable Enable a user #

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/grist-users-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

grist-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'An API for manipulating Grist sites, workspaces, and documents.


    # Authentication

    <SecurityDefinitions />

    '
  version: 1.0.1
  title: Grist attachments Users API
servers:
- url: https://{gristhost}/api
  variables:
    subdomain:
      description: The team name, or `docs` for personal areas
      default: docs
security:
- ApiKey: []
tags:
- name: users
  description: Grist users.
paths:
  /users/{userId}:
    delete:
      operationId: deleteUser
      tags:
      - users
      summary: Delete a user from Grist
      description: 'This action also deletes the user''s personal organisation and all the workspaces and documents it contains.

        Currently, only the users themselves are allowed to delete their own accounts.


        ⚠️ **This action cannot be undone, please be cautious when using this endpoint** ⚠️

        '
      parameters:
      - $ref: '#/components/parameters/userIdPathParam'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  description: The user's name to delete (for confirmation, to avoid deleting the wrong account).
                  example: John Doe
      responses:
        200:
          description: The account has been deleted successfully
        400:
          description: The passed user name does not match the one retrieved from the database given the passed user id
        403:
          description: The caller is not allowed to delete this account
        404:
          description: The user is not found
  /users/{userId}/disable:
    post:
      operationId: disableUser
      tags:
      - users
      summary: Disable a user
      description: 'A disabled user can not log in and loses access to all pages,

        including public ones, as well as API access. The operation is

        non-destructive. Disabled users can be re-enabled.


        Only admin accounts can disable a user.

        '
      parameters:
      - $ref: '#/components/parameters/userIdPathParam'
      responses:
        200:
          description: The account has been disabled successfully
        403:
          description: The caller is not allowed to disable this account
        404:
          description: The user is not found
  /users/{userId}/enable:
    post:
      operationId: enableUser
      tags:
      - users
      summary: Enable a user
      description: 'If a user has been disabled, this will restore their access, including API access.


        Only admin accounts can enable a user.

        '
      parameters:
      - $ref: '#/components/parameters/userIdPathParam'
      responses:
        200:
          description: The account has been enabled successfully
        403:
          description: The caller is not allowed to enable this account
        404:
          description: The user is not found
components:
  parameters:
    userIdPathParam:
      in: path
      name: userId
      schema:
        type: integer
      description: A user id
      required: true
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: 'Authorization: Bearer XXXXXXXXXXX'
      description: Access to the Grist API is controlled by an Authorization header, which should contain the word 'Bearer', followed by a space, followed by your API key.