---
updatedAt: 2026-07-20T22:29:29.000Z
---

# Update Profile

**This API requires Account Administrator role.**

Updates an existing profile with new configuration data. Only provided fields will be updated.

When profile settings are changed, a background sync job (PRFUPD) is automatically queued to propagate
the updated settings to all users assigned to this profile. The sync preserves any user-specific overrides;
only non-overridden fields are updated to match the new profile values.

**Validation Rules:**
- Profile name must be unique within the account (if being changed)
- License type must be valid for the account
- Profile folder must exist (if folder ID is provided)
- Location must exist (if location ID is provided) - location IDs are system-generated

**User limit:**
- A profile may have at most **500** assigned users (see Users API for assignment rules).
- Profile updates are rejected when `numUsers` **exceeds** 500 (updates remain allowed at exactly 500).
- Returns **422** with detail `Profile User limit of 500 reached. Cannot update profile`
  (`violations[].code`: **20005**).


# OpenAPI definition

```json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Profile Management",
    "description": "APIs for managing user profiles.\n\nOperations related to profile management: Create, Get, Update, Delete, List profiles.\n\nEach profile supports at most 500 assigned users. See the Users API for assignment limits;\nprofile updates are blocked when more than 500 users are assigned.\n",
    "version": "0.0.1",
    "contact": {
      "name": "Avaya API Team",
      "url": "https://developers.avayacloud.com/avaya-infinity/"
    },
    "license": {
      "name": "Avaya Software Development Kit (SDK) Software License Terms",
      "url": "https://support.avaya.com/css/P8/documents/101038288"
    }
  },
  "servers": [
    {
      "url": "https://core.{customerId}.ec.avayacloud.com/api/config/v1",
      "description": "Production",
      "variables": {
        "customerId": {
          "description": "Your organization identifier",
          "default": "your-org-id"
        }
      }
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Profile Management",
      "description": "Operations related to profile management: Create, Get, Update, Delete, List profiles.\n"
    }
  ],
  "paths": {
    "/profiles/{profileId}": {
      "patch": {
        "tags": [
          "Profile Management"
        ],
        "summary": "Update Profile",
        "description": "**This API requires Account Administrator role.**\n\nUpdates an existing profile with new configuration data. Only provided fields will be updated.\n\nWhen profile settings are changed, a background sync job (PRFUPD) is automatically queued to propagate\nthe updated settings to all users assigned to this profile. The sync preserves any user-specific overrides;\nonly non-overridden fields are updated to match the new profile values.\n\n**Validation Rules:**\n- Profile name must be unique within the account (if being changed)\n- License type must be valid for the account\n- Profile folder must exist (if folder ID is provided)\n- Location must exist (if location ID is provided) - location IDs are system-generated\n\n**User limit:**\n- A profile may have at most **500** assigned users (see Users API for assignment rules).\n- Profile updates are rejected when `numUsers` **exceeds** 500 (updates remain allowed at exactly 500).\n- Returns **422** with detail `Profile User limit of 500 reached. Cannot update profile`\n  (`violations[].code`: **20005**).\n",
        "operationId": "updateProfile",
        "parameters": [
          {
            "$ref": "#/components/parameters/profileId"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              },
              "examples": {
                "updateProfileName": {
                  "summary": "Update Profile Name and Description",
                  "description": "Update basic profile information",
                  "value": {
                    "name": "Updated Observer Profile",
                    "description": "Updated profile for users who need read-only access"
                  }
                },
                "updateLicenseType": {
                  "summary": "Change License Type",
                  "description": "Update profile license type which will apply new defaults",
                  "value": {
                    "licType": "voiceOnlyAgent",
                    "name": "Voice Agent Profile"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Profile updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                },
                "examples": {
                  "updatedProfile": {
                    "$ref": "#/components/examples/UpdatedProfileResponse"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "description": "Conflict. Two cases:\n- **Duplicate name**: a profile with the same name already exists in this account.\n- **Active sync job**: a PRFUPD or FSYNC job is currently running for this profile.\n",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                },
                "examples": {
                  "duplicateName": {
                    "summary": "Duplicate profile name",
                    "value": {
                      "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#conflict",
                      "title": "Conflict",
                      "status": 409,
                      "detail": "Profile name already exists in this account"
                    }
                  },
                  "activeSyncJob": {
                    "summary": "Active sync job in progress",
                    "value": {
                      "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#conflict",
                      "title": "Conflict",
                      "status": 409,
                      "detail": "Profile cannot be updated while a sync job is in progress (jobId: abc-123). Please wait for it to complete."
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity. Cases include:\n- **Constraint violation**: request body fails field validation\n- **Profile user limit**: profile has more than 500 assigned users and cannot be updated\n",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                },
                "examples": {
                  "constraintViolation": {
                    "summary": "Field validation error",
                    "value": {
                      "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#constraint-violation",
                      "title": "Constraint Violation",
                      "status": 422,
                      "detail": "Request contains invalid or missing fields"
                    }
                  },
                  "profileUpdateUserLimit": {
                    "$ref": "#/components/examples/ErrorProfileUpdateUserLimitReached"
                  }
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "default": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "OAuth 2.0 Bearer Token with scoped permissions.\nRequired scopes documented per endpoint.\n"
      }
    },
    "responses": {
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#internal-error",
              "title": "Internal Server Error",
              "status": 500,
              "detail": "An unexpected error occurred while processing your request",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      },
      "BadRequest": {
        "description": "Bad Request",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#constraint-violation",
              "title": "Constraint Violation",
              "status": 400,
              "detail": "Request contains invalid or missing fields",
              "violations": [
                {
                  "field": "accountId",
                  "message": "must match \"^[a-zA-Z]{6}$\"",
                  "code": 20006
                }
              ]
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#unauthorized",
              "title": "Unauthorized",
              "status": 401,
              "detail": "Bearer token expired at 2025-12-08T10:15:00Z. Request a new token.",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#forbidden",
              "title": "Forbidden",
              "status": 403,
              "detail": "Missing required scope: 'workflows:execute'. Your token has: 'workflows:read'",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#not-found",
              "title": "Not Found",
              "status": 404,
              "detail": "workflowId 'wf_123abc' does not exist",
              "requestId": "req_xyz789",
              "timestamp": "2025-12-08T10:30:05Z"
            }
          }
        }
      }
    },
    "parameters": {
      "profileId": {
        "name": "profileId",
        "in": "path",
        "description": "The unique identifier of a profile.",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/ProfileId"
        }
      }
    },
    "schemas": {
      "ProfileName": {
        "type": "string",
        "description": "Name of a profile (must be unique within the account)",
        "maxLength": 100,
        "minLength": 1,
        "example": "Customer Support Profile"
      },
      "ProfileDescriptionValue": {
        "type": "string",
        "description": "Optional description of the profile",
        "maxLength": 500,
        "example": "Profile for customer support representatives"
      },
      "ProfileDescription": {
        "type": [
          "string",
          "null"
        ],
        "description": "Optional description of the profile",
        "maxLength": 500,
        "example": "Profile for customer support representatives"
      },
      "ProfileSyncStatus": {
        "type": "string",
        "enum": [
          "SYNCED",
          "SYNC_QUEUED",
          "SYNC_IN_PROGRESS",
          "SYNC_FAILED"
        ],
        "description": "State of the profile with regards to synchronizing changes with users.\nSync jobs are created when a profile is updated (PRFUPD — preserves user overrides)\nor when a force sync is triggered (FSYNC — resets all overrides).\n* SYNCED means all users have been updated with the latest changes to the profile\n* SYNC_QUEUED means a change to properties on the profile has been received,\n  but the process of updating users has yet to start\n* SYNC_IN_PROGRESS means the users are currently being updated for changes to\n  the profile\n* SYNC_FAILED means the sync job ended in failure or was aborted before all\n  users could be updated\n"
      },
      "ProfileNumUsers": {
        "type": "integer",
        "minimum": 0,
        "readOnly": true,
        "description": "Number of users currently assigned to the profile.\nA profile supports at most 500 assigned users; assigning a 501st user is rejected by the Users API.\nProfile updates are blocked when this value exceeds 500.\n"
      },
      "ProfileNumUsersWithOverrides": {
        "type": "integer",
        "minimum": 0,
        "description": "Number of users currently set to the profile that have an override for at least one field."
      },
      "DefaultOutboundCallerIdField": {
        "description": "Default outbound caller ID (nullable for create/update requests)",
        "anyOf": [
          {
            "$ref": "#/components/schemas/DefaultOutboundCallerId"
          },
          {
            "type": "null"
          }
        ]
      },
      "ProfilePermissions": {
        "type": "object",
        "description": "Nested permission structure for profile access control",
        "properties": {
          "app": {
            "type": "object",
            "properties": {
              "agent": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "portal": {
                "type": "object",
                "properties": {
                  "app-web": {
                    "type": "boolean"
                  }
                }
              },
              "homeList": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "queueList": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "console": {
            "type": "object",
            "properties": {
              "cx": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "ml": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "portal": {
                "type": "object",
                "properties": {
                  "console-web": {
                    "type": "boolean"
                  }
                }
              },
              "queues": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "account": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "numbers": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              },
              "integrations": {
                "type": "object",
                "properties": {
                  "read": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        }
      },
      "ProfileSpaces": {
        "type": "object",
        "description": "Interaction space configuration for the profile",
        "properties": {
          "task": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Task interaction spaces"
          },
          "email": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Email interaction spaces"
          },
          "phone": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Phone interaction spaces"
          },
          "video": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Video interaction spaces"
          },
          "messaging": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Messaging interaction spaces"
          }
        }
      },
      "ProfileAttributes": {
        "type": "object",
        "description": "Profile-specific attributes and settings",
        "properties": {
          "time": {
            "type": "object",
            "properties": {
              "tz": {
                "type": "string",
                "example": "America/New_York",
                "description": "Timezone setting"
              }
            }
          },
          "queue": {
            "type": "object",
            "properties": {
              "outboundPermissions": {
                "type": "object",
                "properties": {
                  "task": {
                    "type": "boolean",
                    "example": true
                  },
                  "email": {
                    "type": "boolean",
                    "example": true
                  },
                  "phone": {
                    "type": "boolean",
                    "example": true
                  },
                  "video": {
                    "type": "boolean",
                    "example": false
                  },
                  "messaging": {
                    "type": "boolean",
                    "example": true
                  }
                }
              }
            }
          },
          "taskSpaces": {
            "type": "integer",
            "example": 2,
            "description": "Number of task spaces"
          },
          "emailSpaces": {
            "type": "integer",
            "example": 2,
            "description": "Number of email spaces"
          },
          "phoneSpaces": {
            "type": "integer",
            "example": 1,
            "description": "Number of phone spaces"
          },
          "videoSpaces": {
            "type": "integer",
            "example": 0,
            "description": "Number of video spaces"
          },
          "messagingSpaces": {
            "type": "integer",
            "example": 2,
            "description": "Number of messaging spaces"
          },
          "sessionStats": {
            "type": "object",
            "description": "Session statistics configuration (obsolete but kept for backward compatibility)",
            "properties": {
              "enabled": {
                "type": "boolean"
              },
              "frequencyScalar": {
                "type": "integer",
                "example": 5
              },
              "frequencyUnit": {
                "type": "string",
                "example": "minutes"
              },
              "stats": {
                "type": "object",
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "pingHosts": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "ping.avayacloud.com"
                ]
              }
            }
          }
        }
      },
      "UpdateProfileRequest": {
        "type": "object",
        "description": "Request body for updating an existing profile. All fields are optional - only provided fields will be updated.",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the profile (must be unique within the account if being changed)",
            "maxLength": 100,
            "minLength": 1,
            "example": "Updated Customer Support Profile"
          },
          "description": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileDescription"
              }
            ],
            "example": "Updated profile for customer support representatives"
          },
          "licType": {
            "$ref": "#/components/schemas/LicenseType",
            "description": "License type (will apply new defaults if changed)"
          },
          "profileFolderId": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FolderId"
              },
              {
                "type": "null"
              }
            ],
            "description": "Move profile to a folder, or send null to remove from current folder."
          },
          "locationId": {
            "$ref": "#/components/schemas/LocationId"
          },
          "permissions": {
            "$ref": "#/components/schemas/ProfilePermissions",
            "description": "Profile permissions configuration"
          },
          "queues": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserQueues"
              }
            ],
            "description": "Queue configuration for the profile"
          },
          "spaces": {
            "$ref": "#/components/schemas/ProfileSpaces",
            "description": "Space configuration for the profile"
          },
          "tags": {
            "$ref": "#/components/schemas/TagsList"
          },
          "attributes": {
            "$ref": "#/components/schemas/ProfileAttributes",
            "description": "Profile attributes configuration"
          },
          "groups": {
            "$ref": "#/components/schemas/Groups"
          },
          "defaultOutboundCallerId": {
            "$ref": "#/components/schemas/DefaultOutboundCallerIdField"
          },
          "appTheme": {
            "$ref": "#/components/schemas/AppTheme"
          },
          "consoleTheme": {
            "$ref": "#/components/schemas/ConsoleTheme"
          },
          "interactionViewsType": {
            "$ref": "#/components/schemas/InteractionViewsType"
          },
          "definedInteractionViews": {
            "$ref": "#/components/schemas/DefinedInteractionViews"
          },
          "modifyInteractionViews": {
            "type": "boolean",
            "description": "Whether user can modify interaction views"
          },
          "timeZone": {
            "$ref": "#/components/schemas/TimeZone"
          },
          "commTypeChangeDefaultValue": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommTypeChangeDefaultValue"
              },
              {
                "type": "null"
              }
            ]
          },
          "externalUCProviderConnections": {
            "type": "array",
            "description": "Array of external UC provider connection IDs to assign to this profile",
            "items": {
              "$ref": "#/components/schemas/ExternalUCProviderConnectionId"
            },
            "example": [
              "00261a83d82640d98e000000001",
              "00261a83d82640d98e000000002"
            ]
          },
          "crmConfigId": {
            "$ref": "#/components/schemas/CrmConfigId"
          },
          "logConfiguration": {
            "$ref": "#/components/schemas/LogConfiguration",
            "description": "Log configuration settings for users in this profile"
          },
          "enableWebHID": {
            "$ref": "#/components/schemas/EnableWebHID"
          },
          "enableErrorTones": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnableErrorTones"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear (revert to default)."
          },
          "allowInternalCalls": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AllowInternalCalls"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear (revert to default)."
          },
          "rejectInteractions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RejectInteractions"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear."
          },
          "allowAgentEditAutoAnswer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AllowAgentEditAutoAnswer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear (revert to default)."
          },
          "allowAgentEditWebHIDHeadsetControl": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AllowAgentEditWebHIDHeadsetControl"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear (revert to default)."
          },
          "deferEnabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Whether defer is enabled for this profile. Null means not set at profile level (inherit account or queue behavior)."
          },
          "previewOutbound": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PreviewOutbound"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear."
          },
          "predictiveOutbound": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PredictiveOutbound"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear."
          },
          "persistentMedia": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PersistentMedia"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear."
          },
          "dialPlanProfileId": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DialPlanProfileId"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Dial plan profile ID. Send null to clear."
          },
          "ucPhoneSpaces": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UcPhoneSpaces"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Number of UC phone interaction spaces (0-3). Send null to clear."
          },
          "useUCPhoneSpaceOnCCCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UseUCPhoneSpaceOnCCCall"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear (revert to default)."
          },
          "useCCPhoneSpaceOnUCCall": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UseCCPhoneSpaceOnUCCall"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional. Send null to clear (revert to default)."
          },
          "infinityElements": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Replaces the profile's entire set of Infinity Elements.\nOmit to leave unchanged.\n"
          }
        }
      },
      "Profile": {
        "type": "object",
        "description": "Detailed profile information",
        "required": [
          "id",
          "accountId",
          "name",
          "syncStatus",
          "numUsers",
          "numUsersWithOverrides",
          "createdAt",
          "createdBy",
          "licType"
        ],
        "properties": {
          "id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileId"
              }
            ],
            "readOnly": true
          },
          "accountId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "readOnly": true
          },
          "name": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileName"
              }
            ],
            "readOnly": true
          },
          "description": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileDescriptionValue"
              }
            ],
            "readOnly": true
          },
          "profileFolderId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FolderId"
              }
            ],
            "readOnly": true
          },
          "syncStatus": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileSyncStatus"
              }
            ],
            "readOnly": true
          },
          "syncJobId": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/JobId"
              },
              {
                "type": "null"
              }
            ],
            "readOnly": true,
            "description": "ID of the currently active sync job (PRFUPD or FSYNC). Present in update responses when a sync job was created; null otherwise. Use GET /v1/jobs/{syncJobId} to poll progress.\n"
          },
          "numUsers": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileNumUsers"
              }
            ],
            "readOnly": true
          },
          "numUsersWithOverrides": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProfileNumUsersWithOverrides"
              }
            ],
            "readOnly": true
          },
          "createdAt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CreatedAt"
              }
            ],
            "readOnly": true
          },
          "createdBy": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CreatedBy"
              }
            ],
            "readOnly": true
          },
          "updatedAt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UpdatedAt"
              }
            ],
            "readOnly": true
          },
          "updatedBy": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UpdatedBy"
              }
            ],
            "readOnly": true
          },
          "licType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LicenseType"
              }
            ],
            "readOnly": true
          },
          "locationId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LocationId"
              }
            ],
            "readOnly": true
          },
          "permissions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Permissions"
              }
            ],
            "readOnly": true
          },
          "queues": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserQueues"
              }
            ],
            "readOnly": true
          },
          "spaces": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Spaces"
              }
            ],
            "readOnly": true
          },
          "tags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TagsList"
              }
            ],
            "readOnly": true
          },
          "attributes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Attributes"
              }
            ],
            "readOnly": true
          },
          "groups": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Groups"
              }
            ],
            "readOnly": true
          },
          "defaultOutboundCallerId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DefaultOutboundCallerId"
              }
            ],
            "readOnly": true
          },
          "appTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AppTheme"
              }
            ],
            "readOnly": true
          },
          "consoleTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ConsoleTheme"
              }
            ],
            "readOnly": true
          },
          "interactionViewsType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionViewsType"
              }
            ],
            "readOnly": true
          },
          "definedInteractionViews": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DefinedInteractionViews"
              }
            ],
            "readOnly": true
          },
          "modifyInteractionViews": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ModifyInteractionViews"
              }
            ],
            "readOnly": true
          },
          "commTypeChangeDefaultValue": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommTypeChangeDefaultValue"
              }
            ],
            "readOnly": true
          },
          "timeZone": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TimeZone"
              }
            ],
            "readOnly": true
          },
          "dialPlanProfileId": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DialPlanProfileId"
              }
            ],
            "readOnly": true
          },
          "crmConfigurations": {
            "description": "CRM configuration details. Returns full CRM config object or raw ID string depending on the crmConfigId query parameter.",
            "anyOf": [
              {
                "$ref": "#/components/schemas/CrmConfiguration"
              },
              {
                "$ref": "#/components/schemas/CrmConfigId"
              }
            ],
            "readOnly": true
          },
          "externalUCProviderConnections": {
            "type": "array",
            "description": "External UC provider connections assigned to this profile with full details.",
            "items": {
              "$ref": "#/components/schemas/ExternalUCProviderConnection"
            },
            "readOnly": true
          },
          "infinityElements": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "tagName": {
                  "type": "string"
                },
                "icon": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "fileUrl": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "ucPhoneSpaces": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UcPhoneSpaces"
              }
            ],
            "readOnly": true
          },
          "useUCPhoneSpaceOnCCCall": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UseUCPhoneSpaceOnCCCall"
              }
            ],
            "readOnly": true
          },
          "useCCPhoneSpaceOnUCCall": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UseCCPhoneSpaceOnUCCall"
              }
            ],
            "readOnly": true
          },
          "enableWebHID": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnableWebHID"
              }
            ],
            "readOnly": true
          },
          "enableErrorTones": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EnableErrorTones"
              }
            ],
            "readOnly": true
          },
          "allowInternalCalls": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AllowInternalCalls"
              }
            ],
            "readOnly": true
          },
          "rejectInteractions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RejectInteractions"
              }
            ],
            "readOnly": true
          },
          "logConfiguration": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LogConfiguration"
              }
            ],
            "description": "Log configuration settings for users in this profile",
            "readOnly": true
          },
          "allowAgentEditAutoAnswer": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AllowAgentEditAutoAnswer"
              }
            ],
            "readOnly": true
          },
          "allowAgentEditWebHIDHeadsetControl": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AllowAgentEditWebHIDHeadsetControl"
              }
            ],
            "readOnly": true
          },
          "deferEnabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Whether defer is enabled for this profile. Null when unset at profile level.",
            "readOnly": true
          },
          "previewOutbound": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PreviewOutbound"
              }
            ],
            "readOnly": true
          },
          "predictiveOutbound": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PredictiveOutbound"
              }
            ],
            "readOnly": true
          },
          "persistentMedia": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PersistentMedia"
              }
            ],
            "readOnly": true
          },
          "taskSpaces": {
            "type": "integer",
            "readOnly": true,
            "description": "Number of task interaction spaces for this profile. Also appears nested under `attributes`."
          },
          "emailSpaces": {
            "type": "integer",
            "readOnly": true,
            "description": "Number of email interaction spaces for this profile. Also appears nested under `attributes`."
          },
          "phoneSpaces": {
            "type": "integer",
            "readOnly": true,
            "description": "Number of phone interaction spaces for this profile. Also appears nested under `attributes`."
          },
          "videoSpaces": {
            "type": "integer",
            "readOnly": true,
            "description": "Number of video interaction spaces for this profile. Also appears nested under `attributes`."
          },
          "messagingSpaces": {
            "type": "integer",
            "readOnly": true,
            "description": "Number of messaging interaction spaces for this profile. Also appears nested under `attributes`."
          },
          "taskPickupOverMultiplicity": {
            "type": "boolean",
            "readOnly": true,
            "description": "Whether task interactions can be picked up beyond the configured space multiplicity."
          },
          "emailPickupOverMultiplicity": {
            "type": "boolean",
            "readOnly": true,
            "description": "Whether email interactions can be picked up beyond the configured space multiplicity."
          },
          "phonePickupOverMultiplicity": {
            "type": "boolean",
            "readOnly": true,
            "description": "Whether phone interactions can be picked up beyond the configured space multiplicity."
          },
          "messagingPickupOverMultiplicity": {
            "type": "boolean",
            "readOnly": true,
            "description": "Whether messaging interactions can be picked up beyond the configured space multiplicity."
          }
        }
      },
      "FolderId": {
        "description": "Unique identifier for a folder.",
        "type": "string",
        "pattern": "^073[0-9a-f]{23}$",
        "example": "073d010813b941cf7da111d147"
      },
      "Violation": {
        "type": "object",
        "properties": {
          "field": {
            "description": "The name of the field in the request that caused the violation.\n\nThis can be the name of a path parameter, query parameter, or a field within the request body.\n",
            "type": "string",
            "readOnly": true,
            "example": "jobName"
          },
          "message": {
            "description": "A human-readable explanation specific to this occurrence of the violation.\n",
            "type": "string",
            "readOnly": true,
            "example": "must match \"^[a-zA-Z]{6}$\""
          },
          "code": {
            "description": "The violation code generated by the server for this occurrence of the violation.\n\nUse this code when implementing any error handling logic instead of the message, as the message can change.\n",
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "example": 20006
          }
        },
        "required": [
          "field",
          "message",
          "code"
        ],
        "example": [
          {
            "field": "emailAddress",
            "message": "must not be null",
            "code": 20002
          }
        ]
      },
      "Problem": {
        "type": "object",
        "description": "<b>Problem Detail</b> is a way to carry machine-readable details of errors in an HTTP\nresponse to avoid the need to define new error response formats for HTTP APIs\n\n<a href=\"https://tools.ietf.org/html/rfc7807\">RFC 7807</a>\n",
        "properties": {
          "type": {
            "description": "An absolute URI that identifies the problem type.\n\nWhen dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g., using HTML).\n",
            "type": "string",
            "format": "uri",
            "readOnly": true,
            "example": "https://developers.avayacloud.com/avaya-infinity/docs/errors#constraint-violation"
          },
          "title": {
            "description": "A short, summary of the problem type.\n\nWritten in English and readable for engineers (usually not suited for non technical stakeholders and not localized).\n",
            "type": "string",
            "readOnly": true,
            "example": "Service Unavailable"
          },
          "status": {
            "description": "The HTTP status code generated by the origin server for this occurrence of the problem.\n",
            "type": "integer",
            "format": "int32",
            "minimum": 300,
            "exclusiveMaximum": 600,
            "readOnly": true,
            "example": 503
          },
          "detail": {
            "description": "A human-readable explanation specific to this occurrence of the problem.\n",
            "type": "string",
            "readOnly": true,
            "example": "Connection to database timed out"
          },
          "instance": {
            "description": "An absolute URI that identifies the specific occurrence of the problem.\n\nIt may or may not yield further information if dereferenced.\n",
            "type": "string",
            "format": "uri",
            "readOnly": true
          },
          "violations": {
            "description": "A list of violations that occurred as a result of invalid data provided as part of a request.\n",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Violation"
            },
            "readOnly": true
          },
          "requestId": {
            "description": "A unique identifier for this request, useful when contacting support about a specific error occurrence.\n",
            "type": "string",
            "readOnly": true,
            "example": "req_xyz789"
          },
          "timestamp": {
            "description": "The date and time at which the error occurred.\n",
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "retryAfter": {
            "description": "Number of seconds to wait before retrying the request. Present on 429 and 503 responses.\n",
            "type": "integer",
            "readOnly": true,
            "example": 30
          }
        }
      },
      "ProfileId": {
        "type": "string",
        "description": "The unique identifier of a profile.",
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "minLength": 36,
        "maxLength": 36,
        "example": "16a7490f-86a6-4a14-8ce2-11682230adb6"
      },
      "UserId": {
        "description": "Unique identifier for a user.",
        "type": "string",
        "pattern": "^002[0-9a-f]{23}$",
        "example": "002507f1e1c8e3e9a8b7c5d4e3f2"
      },
      "CreatedBy": {
        "description": "ID of the user who created the resource.",
        "allOf": [
          {
            "$ref": "#/components/schemas/UserId"
          }
        ],
        "example": "002d010826307dd6630992437b"
      },
      "UpdatedAt": {
        "description": "Timestamp of when the resource was last updated.\n\nThis may not be included if the resource has not been updated since it was created.\n",
        "type": "string",
        "format": "date-time",
        "example": "2025-09-08T06:19:21.561Z"
      },
      "LicenseType": {
        "type": "string",
        "description": "User license type that determines available features and permissions",
        "enum": [
          "nonAgent",
          "voiceOnlyAgent",
          "digitalOnlyAgent",
          "omniChannelAgent",
          "omniChannelAgentEnhanced",
          "hybridVoiceAgent"
        ],
        "example": "hybridVoiceAgent"
      },
      "PreviewOutbound": {
        "type": "boolean"
      },
      "PredictiveOutbound": {
        "type": "boolean"
      },
      "PersistentMedia": {
        "type": "boolean"
      },
      "RejectInteractions": {
        "type": "boolean"
      },
      "CrmConfiguration": {
        "type": "object",
        "description": "Full CRM configuration object.",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "accountId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "clickToDial": {
            "type": "boolean"
          },
          "clickToConsult": {
            "type": "boolean"
          },
          "omnichannelEnabled": {
            "type": "string",
            "enum": [
              "N",
              "S"
            ]
          },
          "complementaryDefaultStatus": {
            "type": "string"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserId"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserId"
              }
            ],
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "CrmConfigId": {
        "type": "string",
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "minLength": 36,
        "maxLength": 36
      },
      "DialPlanProfileId": {
        "type": "string",
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "minLength": 36,
        "maxLength": 36,
        "description": "ID of the dial plan profile to use"
      },
      "LocationId": {
        "type": "string",
        "description": "Optional location ID to associate with the user or profile. Must be an existing location ID.\n\n**Note:** Location IDs are system-generated 26-character identifiers with prefix \"022\".\n",
        "maxLength": 26,
        "minLength": 26,
        "pattern": "^022[0-9a-f]{23}$",
        "example": "022d01091776cc88fe6866b7ce"
      },
      "QueueId": {
        "description": "Unique identifier for a queue.",
        "type": "string",
        "minLength": 23,
        "maxLength": 26,
        "pattern": "^003[0-9a-f]{20,23}$",
        "example": "00301090301ad8db0f0d4c370"
      },
      "UserQueues": {
        "description": "Queues configuration for a user or profile.",
        "type": "object",
        "properties": {
          "access": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueId"
            }
          },
          "performance": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueId"
            }
          },
          "autoLogin": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueId"
            }
          },
          "proficiency": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueId"
            }
          },
          "logins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueueId"
            }
          },
          "defaultOutboundQueue": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QueueId"
              },
              {
                "type": "null"
              }
            ]
          },
          "outboundQueueId": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QueueId"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "TagsList": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "List of tag names associated with the user or profile.",
        "example": [
          "APACT",
          "English",
          "NART"
        ]
      },
      "GroupId": {
        "description": "Unique identifier for a group.",
        "type": "string",
        "pattern": "^007[0-9a-f]{23}$",
        "example": "007a1b2c3d4e5f67890abcdef12"
      },
      "Groups": {
        "type": "array",
        "description": "Array of group identifiers that the user or profile belongs to. Each string is a groupId from the groups table (IDs with a 007 prefix).",
        "items": {
          "$ref": "#/components/schemas/GroupId"
        },
        "example": [
          "007d01090301ad8db0f0d4c370",
          "007d01090301ad8db0f0d4c371"
        ]
      },
      "DefaultOutboundCallerId": {
        "type": "string",
        "description": "Default outbound caller ID in E.164 format (international phone number standard)",
        "maxLength": 20,
        "pattern": "^$|^\\\\+?[1-9]\\\\d{0,19}$",
        "example": "+1234567890"
      },
      "UiTheme": {
        "type": "string",
        "enum": [
          "light",
          "dark"
        ],
        "example": "light"
      },
      "AppTheme": {
        "allOf": [
          {
            "$ref": "#/components/schemas/UiTheme"
          }
        ],
        "description": "Application theme preference"
      },
      "ConsoleTheme": {
        "allOf": [
          {
            "$ref": "#/components/schemas/UiTheme"
          }
        ],
        "description": "Console theme preference"
      },
      "InteractionViewsType": {
        "type": "string",
        "description": "Type of interaction views to display",
        "enum": [
          "all",
          "defined",
          "none"
        ],
        "default": "all",
        "example": "all"
      },
      "DefinedInteractionViews": {
        "type": "array",
        "description": "List of defined interaction views",
        "items": {
          "type": "string"
        }
      },
      "TimeZone": {
        "type": "string",
        "description": "User's timezone preference (IANA timezone)",
        "maxLength": 64,
        "example": "America/New_York"
      },
      "CommTypeChangeDefaultValue": {
        "type": "string",
        "description": "Default value for communication type changes",
        "enum": [
          "callback",
          "closeResolved",
          "closeUnresolved"
        ],
        "example": "callback"
      },
      "LogConfiguration": {
        "type": "object",
        "description": "Log configuration settings for controlling logging behavior.\nUsed to configure client-side logging for users and profiles.\n",
        "properties": {
          "logLevel": {
            "type": "string",
            "enum": [
              "ERROR",
              "WARN",
              "INFO",
              "DEBUG",
              "TRACE"
            ],
            "description": "The minimum log level to capture",
            "example": "INFO"
          },
          "remoteLoggingEnabled": {
            "type": "boolean",
            "description": "Whether to send logs to the remote logging service",
            "example": true
          },
          "sampleRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Sampling rate for logs (0 to 1, where 1 means log everything)",
            "example": 0.5
          },
          "modules": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of module names to enable logging for",
            "example": [
              "auth",
              "api",
              "websocket"
            ]
          }
        }
      },
      "EnableWebHID": {
        "type": "boolean",
        "description": "Whether WebHID is enabled for the user"
      },
      "EnableErrorTones": {
        "type": "boolean",
        "description": "Whether error tones are enabled."
      },
      "AllowInternalCalls": {
        "type": "boolean",
        "description": "Whether the user or profile can make internal calls"
      },
      "AllowAgentEditAutoAnswer": {
        "type": "boolean",
        "description": "Controls whether the Admin Console UI exposes the Auto Answer Interactions setting (attributes.webRTC.autoAnswer.interaction) as editable in the agent's own profile view. Defaults to false (UI shows the setting as read-only for the agent). Note: this flag is enforced in the UI only. The API accepts changes to attributes.webRTC.autoAnswer.interaction regardless of this flag's value.",
        "default": false
      },
      "AllowAgentEditWebHIDHeadsetControl": {
        "type": "boolean",
        "description": "Controls whether the Admin Console UI exposes the WebHID Headset Control setting (attributes.webHID.status) as editable in the agent's own profile view. Defaults to false (UI shows the setting as read-only for the agent). Note: this flag is enforced in the UI only. The API accepts changes to attributes.webHID.status regardless of this flag's value.",
        "default": false
      },
      "UcPhoneSpaces": {
        "description": "Number of UC phone interaction spaces.",
        "type": "integer",
        "minimum": 0
      },
      "UseUCPhoneSpaceOnCCCall": {
        "description": "Use UC phone space for CC calls.",
        "type": "boolean"
      },
      "UseCCPhoneSpaceOnUCCall": {
        "description": "Use CC phone space for UC calls.",
        "type": "boolean"
      },
      "ExternalUCProviderConnectionId": {
        "type": "string",
        "description": "UUID of an external UC provider connection",
        "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
        "minLength": 36,
        "maxLength": 36
      },
      "AccountId": {
        "description": "Unique identifier for an account.",
        "type": "string",
        "pattern": "^001[0-9a-f]{23}$",
        "example": "001f8e7d6c5b4a39281706f5e4d"
      },
      "JobId": {
        "description": "Unique ID for a bulk user operation job.",
        "type": "string",
        "format": "uuid",
        "example": "c8c2909d-75e9-484a-94c0-b7e8d30771fe"
      },
      "CreatedAt": {
        "description": "Timestamp of when the resource was created.",
        "type": "string",
        "format": "date-time",
        "example": "2025-09-08T06:19:21.561Z"
      },
      "UpdatedBy": {
        "description": "ID of the user who last updated the resource.\n\nThis may not be included if the resource has not been updated since it was created.\n",
        "allOf": [
          {
            "$ref": "#/components/schemas/UserId"
          }
        ],
        "example": "002d010826307dd6630992437b"
      },
      "Permissions": {
        "type": "object",
        "description": "The permissions for a user or profile.",
        "properties": {
          "app": {
            "type": "object"
          },
          "console": {
            "type": "object"
          }
        },
        "example": {
          "app": {
            "agent": {
              "read": false
            },
            "portal": {
              "app-web": false
            },
            "homeList": {
              "read": false
            },
            "queueList": {
              "read": false
            },
            "queueToggling": {
              "read": false
            }
          },
          "console": {
            "cx": {
              "read": true
            },
            "ml": {
              "read": true
            },
            "portal": {
              "console-web": true
            },
            "queues": {
              "read": true
            },
            "account": {
              "read": true
            },
            "numbers": {
              "read": true
            },
            "integrations": {
              "read": false
            }
          }
        }
      },
      "Spaces": {
        "type": "object",
        "description": "Space configuration for a user or profile.",
        "properties": {
          "task": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "phone": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "video": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "messaging": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Attributes": {
        "type": "object",
        "description": "Attributes of the user or profile.",
        "properties": {
          "time": {
            "type": "object",
            "properties": {
              "tz": {
                "$ref": "#/components/schemas/TimeZone"
              }
            }
          },
          "taskSpaces": {
            "type": "integer",
            "example": 3
          },
          "emailSpaces": {
            "type": "integer",
            "example": 3
          },
          "phoneSpaces": {
            "type": "integer",
            "example": 1
          },
          "videoSpaces": {
            "type": "integer",
            "example": 0
          },
          "messagingSpaces": {
            "type": "integer",
            "example": 3
          },
          "webRTC": {
            "type": "object",
            "description": "WebRTC-related settings for the user.",
            "properties": {
              "autoAnswer": {
                "type": "object",
                "properties": {
                  "interaction": {
                    "type": "boolean",
                    "description": "Whether the agent's interactions are automatically answered. Editability by agents is controlled by the `allowAgentEditAutoAnswer` flag."
                  }
                }
              }
            }
          },
          "webHID": {
            "type": "object",
            "description": "WebHID headset control settings for the user.",
            "properties": {
              "status": {
                "type": "boolean",
                "description": "Whether WebHID headset control is enabled for the agent. Editability by agents is controlled by the `allowAgentEditWebHIDHeadsetControl` flag."
              }
            }
          },
          "sessionStats": {
            "type": "object",
            "description": "Session statistics configuration (obsolete but kept for backward compatibility)",
            "properties": {
              "enabled": {
                "type": "boolean"
              },
              "frequencyScalar": {
                "type": "integer",
                "example": 5
              },
              "frequencyUnit": {
                "type": "string",
                "example": "minutes"
              },
              "stats": {
                "type": "object",
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "pingHosts": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "ping.avayacloud.com"
                ]
              }
            }
          }
        }
      },
      "ModifyInteractionViews": {
        "type": "boolean",
        "description": "Can modify interaction views",
        "example": true
      },
      "ExternalUCProviderConnection": {
        "type": "object",
        "description": "An external UC provider connection with full details.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the connection."
          },
          "accountId": {
            "type": "string",
            "description": "Account the connection belongs to."
          },
          "name": {
            "type": "string",
            "description": "Display name of the connection."
          },
          "provider": {
            "type": "string",
            "description": "Provider type (e.g. 'teams', 'zoom')."
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether the connection is currently enabled."
          },
          "connectionDetails": {
            "type": "object",
            "additionalProperties": true,
            "description": "Provider-specific connection configuration."
          }
        }
      }
    },
    "examples": {
      "ErrorProfileUpdateUserLimitReached": {
        "description": "Profile update rejected because assigned user count exceeds 500",
        "value": {
          "type": "https://developers.avayacloud.com/avaya-infinity/docs/errors#validation-failed",
          "title": "Validation Failed",
          "status": 422,
          "detail": "Profile User limit of 500 reached. Cannot update profile",
          "violations": [
            {
              "field": "profileId",
              "message": "Profile User limit of 500 reached. Cannot update profile",
              "code": 20005
            }
          ]
        }
      },
      "UpdatedProfileResponse": {
        "description": "Successfully updated profile with new configuration",
        "value": {
          "id": "16a7490f-86a6-4a14-8ce2-11682230adb6",
          "accountId": "001d01022054849399088a81ad",
          "name": "Voice Agent Profile",
          "description": "Updated profile for customer support representatives",
          "licType": "voiceOnlyAgent",
          "profileFolderId": "073d010813b941cf7da111d147",
          "locationId": "022d01091776cc88fe6866b7ce",
          "syncStatus": "SYNC_QUEUED",
          "syncJobId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
          "numUsers": 12,
          "numUsersWithOverrides": 3,
          "permissions": {
            "app": {
              "agent": {
                "read": true
              },
              "portal": {
                "app-web": true
              },
              "homeList": {
                "read": true
              },
              "queueList": {
                "read": true
              }
            },
            "console": {
              "cx": {
                "read": false
              },
              "ml": {
                "read": false
              },
              "portal": {
                "console-web": false
              },
              "queues": {
                "read": false
              },
              "account": {
                "read": false
              },
              "numbers": {
                "read": false
              },
              "integrations": {
                "read": false
              }
            }
          },
          "queues": {
            "access": [],
            "performance": [],
            "autoLogin": [],
            "proficiency": [],
            "logins": [],
            "defaultOutboundQueue": null,
            "outboundQueueId": null
          },
          "spaces": {
            "task": [],
            "email": [],
            "phone": [],
            "video": [],
            "messaging": []
          },
          "tags": [
            "APACT",
            "English",
            "NART"
          ],
          "attributes": {
            "time": {
              "tz": "America/New_York"
            },
            "taskSpaces": 2,
            "emailSpaces": 0,
            "phoneSpaces": 1,
            "videoSpaces": 0,
            "messagingSpaces": 0
          },
          "groups": [
            "007d01090301ad8db0f0d4c370"
          ],
          "defaultOutboundCallerId": "+1234567890",
          "appTheme": "light",
          "consoleTheme": "light",
          "interactionViewsType": "all",
          "definedInteractionViews": [],
          "modifyInteractionViews": true,
          "timeZone": "America/New_York",
          "commTypeChangeDefaultValue": null,
          "createdAt": "2024-01-15T10:30:00Z",
          "createdBy": "002d01091636c828bb78aa5887",
          "updatedAt": "2024-01-16T14:45:00Z",
          "updatedBy": "002d01091636c828bb78aa5887"
        }
      }
    }
  }
}
```