xfa-tech Users Details API

The UsersDetails API from xfa-tech — 2 operation(s) for usersdetails.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /users/details Get user details #
PATCH /users/details Update user details #
POST /users/revoke Revoke user sessions #

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/xfa-tech:xfa-tech-usersdetails-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

xfa-tech-usersdetails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XFA Users Details API
  version: '1'
servers:
- url: https://api.xfa.tech
  description: Production stack API url
- url: https://test-api.xfa.tech
  description: Test stack API url
security:
- bearerAuth: []
tags:
- name: UsersDetails
paths:
  /users/details:
    get:
      summary: Get user details
      description: 'Get user details. Users can get their own details without organizationId.

        To get another user''s details, organizationId is required, the requester must have access to that organization,

        and the user must be one of that organization''s dashboard users. Another user''s details never include groups.'
      x-internal: true
      tags:
      - UsersDetails
      parameters:
      - in: query
        name: user
        description: email of the user
        required: true
        schema:
          type: string
      - in: query
        name: organizationId
        description: Organization ID (required when getting another user's details, optional when getting own details)
        required: false
        schema:
          type: string
      responses:
        '200':
          description: User details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDetails'
        '400':
          description: Bad request (missing required parameters)
        '403':
          description: Forbidden (insufficient permissions)
      operationId: getUsersDetails
      x-operation-id-source: derived
    patch:
      summary: Update user details
      description: 'Update user details. Authorization depends on what fields are being updated:

        - Language, FirstName, LastName: Only the user themselves can update (email must match)'
      x-internal: true
      tags:
      - UsersDetails
      parameters:
      - in: query
        name: user
        description: email of the user
        required: true
        schema:
          type: string
      - in: query
        name: organizationId
        description: Organization ID (optional; not needed for any update)
        required: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserDetails'
      responses:
        '204':
          description: User details updated successfully
        '400':
          description: Bad request (missing required parameters or validation error)
        '403':
          description: Forbidden (insufficient permissions)
      operationId: patchUsersDetails
      x-operation-id-source: derived
  /users/revoke:
    post:
      summary: Revoke user sessions
      description: 'Revoke all sessions for a user, invalidating their previous authentication tokens.

        Users can revoke their own sessions without organizationId.

        Administrators can revoke the sessions of their organization''s dashboard users (organizationId required).'
      x-internal: true
      tags:
      - UsersDetails
      parameters:
      - in: query
        name: user
        description: email of the user whose sessions should be revoked
        required: true
        schema:
          type: string
      - in: query
        name: organizationId
        description: Organization ID (required when revoking another user's sessions, optional when revoking own sessions)
        required: false
        schema:
          type: string
      responses:
        '204':
          description: User sessions revoked successfully
        '400':
          description: Bad request (missing required parameters)
        '403':
          description: Forbidden (insufficient permissions)
      operationId: postUsersRevoke
      x-operation-id-source: derived
components:
  schemas:
    UserDetails:
      type: object
      properties:
        firstName:
          type: string
        lastName:
          type: string
        language:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT