Tuya · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Tuya Device Management Device Users API

5 actions 5 updates phrasing extends openapi/tuya-device-users-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Tuya's API. It is a proposal applied on top of the contract, not a document Tuya publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/v1.0/devices/{device_id}/users'].post
$.paths['/v1.0/devices/{device_id}/users/{user_id}'].get
$.paths['/v1.0/devices/{device_id}/users/{user_id}'].put
$.paths['/v1.0/devices/{device_id}/users/{user_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Tuya Device Management Device Users API
  version: 1.0.0
extends: openapi/tuya-device-users-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/v1.0/devices/{device_id}/users'].post
  update:
    x-apievangelist-phrasing:
      intent: Share a device with a user
      effect: write
      questions:
      - How do I let a guest user control my smart device?
      - Can I make someone a shared user of a device?
      instructions:
      - text: Add user {uid} as a {user_type} to device {device_id}.
        slots:
          uid: requestBody.uid
          user_type: requestBody.user_type
          device_id: path.device_id
      - text: Share device {device_id} with user {uid} with role {user_type}.
        slots:
          device_id: path.device_id
          uid: requestBody.uid
          user_type: requestBody.user_type
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1.0/devices/{device_id}/users/{user_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a user's role on a device
      effect: read
      questions:
      - What role does a particular user have on my device?
      - Can I check who has access to a device?
      instructions:
      - text: Get user {user_id} on device {device_id}.
        slots:
          user_id: path.user_id
          device_id: path.device_id
      - text: Show the access role of {user_id} on device {device_id}.
        slots:
          user_id: path.user_id
          device_id: path.device_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1.0/devices/{device_id}/users/{user_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Change a user's role on a device
      effect: write
      questions:
      - Can I change a shared user's role on a device?
      - How do I promote a shared user to owner?
      instructions:
      - text: Change user {user_id} on device {device_id} to role {user_type}.
        slots:
          user_id: path.user_id
          device_id: path.device_id
          user_type: requestBody.user_type
      - text: Update the access role of {user_id} on device {device_id}.
        slots:
          user_id: path.user_id
          device_id: path.device_id
      method: generated
      generated: '2026-11-18'
- target: $.paths['/v1.0/devices/{device_id}/users/{user_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a user's access to a device
      effect: destructive
      questions:
      - How do I revoke someone's access to my device?
      - Can I remove a shared user from a device?
      instructions:
      - text: Remove user {user_id} from device {device_id}.
        slots:
          user_id: path.user_id
          device_id: path.device_id
      - text: Revoke {user_id}'s access to device {device_id}.
        slots:
          user_id: path.user_id
          device_id: path.device_id
      method: generated
      generated: '2026-11-18'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/tuya-device-users-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.