Webex · Schema

PatchUser

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Properties

Name Type Description
schemas array Input JSON schemas.
Operations array A list of patch operations.
View JSON Schema on GitHub

JSON Schema

webex-patchuser-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PatchUser",
  "title": "PatchUser",
  "type": "object",
  "required": [
    "schemas",
    "Operations"
  ],
  "properties": {
    "schemas": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "urn:ietf:params:scim:api:messages:2.0:PatchOp"
      },
      "description": "Input JSON schemas."
    },
    "Operations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "op"
        ],
        "properties": {
          "op": {
            "type": "string",
            "enum": [
              "add",
              "replace",
              "remove"
            ],
            "description": "The operation to perform."
          },
          "path": {
            "type": "string",
            "example": "displayName",
            "description": "A string containing an attribute path describing the target of the operation."
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleObject"
            },
            "description": "New value."
          }
        }
      },
      "description": "A list of patch operations."
    }
  }
}