CreateUserRequest

Active DirectoryAuthenticationAmazon Web ServicesDirectory ServicesIdentity and Access Management

Properties

Name Type Description
DirectoryId string The identifier (ID) of the directory that’s associated with the user.
SAMAccountName string The name of the user.
EmailAddress string The email address of the user.
GivenName string The first name of the user.
Surname string The last name of the user.
OtherAttributes object An expression that defines one or more attribute names with the data type and value of each attribute. A key is an attribute name, and the value is a list of maps. For a list of supported attributes,
ClientToken string A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call. A client token is valid for 8
View JSON Schema on GitHub

JSON Schema

amazon-directory-service-create-user-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-create-user-request-schema.json",
  "title": "CreateUserRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-users-api-openapi.yml#/components/schemas/CreateUserRequest",
  "type": "object",
  "properties": {
    "DirectoryId": {
      "type": "string",
      "description": "The identifier (ID) of the directory that’s associated with the user."
    },
    "SAMAccountName": {
      "type": "string",
      "description": "The name of the user."
    },
    "EmailAddress": {
      "type": "string",
      "description": "The email address of the user."
    },
    "GivenName": {
      "type": "string",
      "description": "The first name of the user."
    },
    "Surname": {
      "type": "string",
      "description": "The last name of the user."
    },
    "OtherAttributes": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/AttributeValue"
      },
      "description": "An expression that defines one or more attribute names with the data type and value of each attribute. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see Directory Service Data Attributes. Attribute names are case insensitive."
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call. A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours. If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an Confli"
    }
  },
  "required": [
    "DirectoryId",
    "SAMAccountName"
  ],
  "$defs": {
    "AttributeValue": {
      "type": "object",
      "properties": {
        "S": {
          "type": "string",
          "description": "Indicates that the attribute type value is a string. For example: \"S\": \"S Group\""
        },
        "N": {
          "type": "integer",
          "description": "Indicates that the attribute type value is a number. For example: \"N\": \"16\""
        },
        "BOOL": {
          "type": "boolean",
          "description": "Indicates that the attribute type value is a boolean. For example: \"BOOL\": true"
        },
        "SS": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Indicates that the attribute type value is a string set. For example: \"SS\": [\"sample_service_class/host.sample.com:1234/sample_service_name_1\", \"sample_service_class/host.sample.com:1234/sample_service_name_2\"]"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-directory-service-create-user-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.