x-generator: NSwag v13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v11.0.0.0))
swagger: '2.0'
info:
  title: Absorb SCIM API
  version: v2
consumes:
  - application/json
produces:
  - application/json
paths:
  /scim/v2/Users/{userId}:
    delete:
      tags:
        - Users
      summary: Delete a SCIM user by id.
      description: This is soft delete.
      operationId: Users_DeleteUser
      parameters:
        - type: string
          name: userId
          in: path
          required: true
          description: The ID specifying the user to delete.
          format: guid
          x-nullable: false
      responses:
        '204':
          description: ''
        '403':
          x-nullable: false
          description: >-
            User has no permissions to remove a user or user tries to remove
            themselves.
          schema:
            $ref: '#/definitions/ErrorResponse'
        '404':
          x-nullable: false
          description: A user with the provided ID not found.
          schema:
            $ref: '#/definitions/ErrorResponse'
  /scim/v2/Users:
    post:
      tags:
        - Users
      summary: Create new SCIM user.
      operationId: Users_PostUser
      parameters:
        - name: request
          in: body
          description: The SCIM User.
          schema:
            $ref: '#/definitions/PostUserRequest'
          x-nullable: true
      responses:
        '200':
          x-nullable: false
          description: ''
          schema:
            $ref: '#/definitions/UserResponse'
        '400':
          x-nullable: false
          description: The request parameter are invalid.
          schema:
            $ref: '#/definitions/ErrorResponse'
        '409':
          x-nullable: false
          description: A user with the provided ID or username already exists.
          schema:
            $ref: '#/definitions/ErrorResponse'
    get:
      tags:
        - Users
      summary: List SCIM users.
      operationId: Users_GetUsers
      parameters:
        - type: object
          name: filter
          in: query
          description: The filter for the query request.
          x-schema:
            $ref: '#/definitions/PathFilterExpression'
          x-nullable: true
        - type: string
          name: sortBy
          in: query
          description: Specify the attribute to sort the response by.
          x-nullable: true
        - type: string
          name: sortOrder
          in: query
          description: Specify the order to sort the response by.
          x-schema:
            $ref: '#/definitions/SortOrder'
          x-nullable: false
          enum:
            - Ascending
            - Descending
        - type: integer
          name: startIndex
          in: query
          description: Specify the index to start the response from.
          format: int32
          x-nullable: false
        - type: integer
          name: count
          in: query
          description: Specify how many results to return.
          format: int32
          x-nullable: false
        - type: array
          name: attributes
          in: query
          description: The list of attributes to include in the response.
          collectionFormat: multi
          x-nullable: true
          items:
            type: string
        - type: array
          name: excludedAttributes
          in: query
          description: The list of attributes to exclude from the response.
          collectionFormat: multi
          x-nullable: true
          items:
            type: string
      responses:
        '200':
          x-nullable: false
          description: ''
          schema:
            $ref: '#/definitions/ListResponseOfUserResponse'
        '400':
          x-nullable: false
          description: ''
          schema:
            $ref: '#/definitions/ErrorResponse'
  /scim/v2/Users/{id}:
    get:
      tags:
        - Users
      summary: Get SCIM User by ID.
      operationId: Users_GetUser
      parameters:
        - type: string
          name: id
          in: path
          required: true
          description: The ID specifying the user to retrieve.
          format: guid
          x-nullable: false
        - type: array
          name: attributes
          in: query
          description: The list of attributes to include in the response.
          collectionFormat: multi
          x-nullable: true
          items:
            type: string
        - type: array
          name: excludedAttributes
          in: query
          description: The list of attributes to exclude from the response.
          collectionFormat: multi
          x-nullable: true
          items:
            type: string
      responses:
        '200':
          x-nullable: false
          description: ''
          schema:
            $ref: '#/definitions/UserResponse'
        '404':
          x-nullable: false
          description: The user with the given ID does not exist.
          schema:
            $ref: '#/definitions/ErrorResponse'
    put:
      tags:
        - Users
      summary: Updates an existing SCIM user by ID.
      description: >-
        Clients that want to override a server's defaults MAY specify "null" for
        a single-valued attribute, or an empty array "[]" for a

        multivalued attribute, to clear all values.
      operationId: Users_PutUser
      parameters:
        - type: string
          name: id
          in: path
          required: true
          description: The user's ID
          format: guid
          x-nullable: false
        - name: requestBody
          in: body
          description: The request body to update the given user.
          schema:
            $ref: '#/definitions/UpdateUserRequestBody'
          x-nullable: true
      responses:
        '200':
          x-nullable: false
          description: ''
          schema:
            $ref: '#/definitions/UserResponse'
        '400':
          x-nullable: false
          description: Invalid values passed.
          schema:
            $ref: '#/definitions/ErrorResponse'
        '404':
          x-nullable: false
          description: The user with the given ID does not exist.
          schema:
            $ref: '#/definitions/ErrorResponse'
        '409':
          x-nullable: false
          description: >-
            A user with the provided username already exists or request body id
            doesn't match request uri id.
          schema:
            $ref: '#/definitions/ErrorResponse'
    patch:
      tags:
        - Users
      summary: Updates an existing SCIM user by ID via PATCH operations.
      operationId: Users_PatchUser
      parameters:
        - type: string
          name: id
          in: path
          required: true
          description: The user's ID.
          format: guid
          x-nullable: false
        - type: array
          name: attributes
          in: query
          description: The list of attributes to include in the response.
          collectionFormat: multi
          x-nullable: true
          items:
            type: string
        - type: array
          name: excludedAttributes
          in: query
          description: The list of attributes to exclude from the response.
          collectionFormat: multi
          x-nullable: true
          items:
            type: string
        - name: request
          in: body
          description: The list of patch operations to perform.
          schema:
            $ref: '#/definitions/ScimPatchRequestOfUpdateUserRequestBody'
          x-nullable: true
      responses:
        '200':
          x-nullable: false
          description: ''
          schema:
            $ref: '#/definitions/UserResponse'
        '400':
          x-nullable: false
          description: Invalid values passed.
          schema:
            $ref: '#/definitions/ErrorResponse'
        '404':
          x-nullable: false
          description: The user with the given ID does not exist.
          schema:
            $ref: '#/definitions/ErrorResponse'
        '409':
          x-nullable: false
          description: A user with the provided username already exists.
          schema:
            $ref: '#/definitions/ErrorResponse'
definitions:
  ErrorResponse:
    type: object
    description: Represents a SCIM error resource.
    properties:
      schemas:
        type: array
        description: The response schemas.
        items:
          type: string
      status:
        type: string
        description: The HTTP status code.
      scimType:
        description: A SCIM detail error keyword
        allOf:
          - $ref: '#/definitions/ScimErrorType'
      detail:
        type: string
        description: The detail of the error.
  ScimErrorType:
    type: string
    description: An enumeration of possible SCIM error types.
    x-enumNames:
      - invalidFilter
      - tooMany
      - uniqueness
      - mutability
      - invalidSyntax
      - invalidPath
      - noTarget
      - invalidValue
      - invalidVers
      - sensitive
    enum:
      - invalidFilter
      - tooMany
      - uniqueness
      - mutability
      - invalidSyntax
      - invalidPath
      - noTarget
      - invalidValue
      - invalidVers
      - sensitive
  UserResponse:
    type: object
    description: Resource for a user.
    properties:
      schemas:
        type: array
        description: User schemas.
        items:
          type: string
      id:
        type: string
        description: >-
          A unique identifier for a SCIM resource as defined by the service
          provider.
        format: guid
      externalId:
        type: string
        description: >-
          A String that is an identifier for the resource as defined by the
          provisioning client.
      name:
        description: The name of the user.
        allOf:
          - $ref: '#/definitions/NameResponse'
      userName:
        type: string
        description: The username of the user.
      displayName:
        type: string
        description: The display name of the user.
      title:
        type: string
        description: The title of the user.
      active:
        type: boolean
        description: The active status of the user.
      preferredLanguage:
        type: string
        description: The preferred language of the user.
      password:
        type: string
        description: The password of the user.
      emails:
        type: array
        description: The emails of the user.
        items:
          $ref: '#/definitions/EmailResponse'
      phoneNumbers:
        type: array
        description: >-
          The phone numbers of the user.

          The SCIM User/Phones is a List of Phones, which suppose to have
          multiple values, whether the AbsorbUser / phone is a single value
        items:
          $ref: '#/definitions/PhoneNumberResponse'
      addresses:
        type: array
        description: The addresses of the user.
        items:
          $ref: '#/definitions/AddressResponse'
      groups:
        type: array
        description: The user's groups.
        items:
          $ref: '#/definitions/GroupResponse'
      urn:ietf:params:scim:schemas:extension:absorb:2.0:User:
        description: The user's extended attributes.
        allOf:
          - $ref: '#/definitions/UserExtensionResponse'
      urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
        description: The user's enterprise details.
        allOf:
          - $ref: '#/definitions/EnterpriseUserResponse'
      meta:
        description: 'Attribute containing resource metadata.  '
        allOf:
          - $ref: '#/definitions/MetaResponse'
  NameResponse:
    type: object
    description: Resource for a user's name.
    properties:
      givenName:
        type: string
        description: The given name of the user.
      middleName:
        type: string
        description: The middle name of the user.
      familyName:
        type: string
        description: The family name of the user.
  EmailResponse:
    type: object
    description: >-
      Resource for a user's email.

      We are inheriting MultiValuedAttributeResponse since

      The SCIM User/Email is a List of emails, which suppose to have multiple
      values, whether the AbsorbEmail is a

      single value. The MultiValueAttribute has properties which are common
      among other SCIM User properties
    properties:
      type:
        type: string
        description: The label indicating the attribute's function.
      primary:
        type: boolean
        description: Indicates whether the MultiValueAttribute is primary or not.
      display:
        type: string
        description: User friendly display value.
      value:
        type: string
        description: The Attribute Value.
      $ref:
        type: string
        description: The Ref field is used as a URI reference to an external resource.
        format: uri
  PhoneNumberResponse:
    type: object
    description: >-
      We are inheriting MultiValuedAttributeResponse since

      The SCIM User/Phones is a List of Phones, which suppose to have multiple
      values, whether the AbsorbUser / phone is a

      single phone number. The MultiValueAttribute has properties which are
      common among other SCIM User properties
    properties:
      type:
        type: string
        description: The label indicating the attribute's function.
      primary:
        type: boolean
        description: Indicates whether the MultiValueAttribute is primary or not.
      display:
        type: string
        description: User friendly display value.
      value:
        type: string
        description: The Attribute Value.
      $ref:
        type: string
        description: The Ref field is used as a URI reference to an external resource.
        format: uri
  AddressResponse:
    type: object
    description: Resource for a user's address.
    properties:
      streetAddress:
        type: string
        description: The street address.
      locality:
        type: string
        description: The locality.
      region:
        type: string
        description: The region.
      postalCode:
        type: string
        description: The postal code.
      country:
        type: string
        description: The country.
      type:
        type: string
        description: The type.
      primary:
        type: boolean
        description: Indicates whether this is the primary address or not.
  GroupResponse:
    type: object
    description: >-
      Resource for a user's group.

      We are inheriting MultiValuedAttributeResponse since

      The SCIM User/Groups is a List of groups, which suppose to have multiple
      values, whether the AbsorbGroup is a

      single Department. The MultiValueAttribute has properties which are common
      among other SCIM User properties
    properties:
      type:
        type: string
        description: The label indicating the attribute's function.
      primary:
        type: boolean
        description: Indicates whether the MultiValueAttribute is primary or not.
      display:
        type: string
        description: User friendly display value.
      value:
        type: string
        description: The Attribute Value.
      $ref:
        type: string
        description: The Ref field is used as a URI reference to an external resource.
        format: uri
  UserExtensionResponse:
    type: object
    description: Resource for extended user attributes.
    properties:
      location:
        type: string
        description: Location of the user.
      dateHired:
        type: string
        description: Date the user was hired.
        format: date-time
      gender:
        description: |-
          Gender of the user.

          Possible Enum Values: `0 = None` `1 = Male` `2 = Female` 
        allOf:
          - $ref: '#/definitions/Gender'
      customFields:
        type: array
        description: User's custom fields.
        items:
          $ref: '#/definitions/CustomFieldResponse'
      userManagementSettings:
        description: The management settings of the user.
        allOf:
          - $ref: '#/definitions/UserManagementSettingsResponse'
  Gender:
    type: integer
    description: 'Defines an enumeration for genders. '
    x-enumNames:
      - None
      - Male
      - Female
    enum:
      - 0
      - 1
      - 2
  CustomFieldResponse:
    type: object
    description: Resource for a user's custom field.
    properties:
      type:
        type: string
        description: The type of custom field.
      display:
        type: string
        description: The display name of the custom field.
      value:
        description: The value of the custom field.
  UserManagementSettingsResponse:
    type: object
    description: Represents a resource for the user management settings.
    properties:
      isLearner:
        type: boolean
        description: Indicates whether the user is a learner.
      isAdmin:
        type: boolean
        description: Indicates whether the user is an admin.
      isReviewer:
        type: boolean
        description: Indicates whether the user is a reviewer.
      isManager:
        type: boolean
        description: Indicates whether the user is a manager.
      isInstructor:
        type: boolean
        description: Indicates whether the user is an instructor.
      adminRoles:
        type: array
        description: The list of user's admin roles.
        items:
          type: string
      userManagementType:
        description: >-
          The user management type.


          Possible Enum Values: `0 = None` `1 = Group` `2 = Department` `3 =
          All` 
        allOf:
          - $ref: '#/definitions/UserManagementType'
      managerRoles:
        type: array
        description: The list of user's manager roles.
        items:
          type: string
      mangedGroupId:
        type: string
        description: The ID of managed group.
        format: guid
      managedDepartments:
        type: array
        description: The list of managed departments.
        items:
          $ref: '#/definitions/ManagedDepartmentResponse'
  UserManagementType:
    type: integer
    description: The allowable user management types.
    x-enumNames:
      - None
      - Group
      - Department
      - All
    enum:
      - 0
      - 1
      - 2
      - 3
  ManagedDepartmentResponse:
    type: object
    description: A resource for managed department
    properties:
      departmentId:
        type: string
        description: The ID of the department.
        format: guid
      includeSubDepartments:
        type: boolean
        description: Indicates whether the sub departments are included.
  EnterpriseUserResponse:
    type: object
    description: Resource for a user's enterprise information.
    properties:
      employeeNumber:
        type: string
        description: Employee number of the user.
      manager:
        description: Manager of the user.
        allOf:
          - $ref: '#/definitions/ManagerResponse'
  ManagerResponse:
    type: object
    description: Resource for a user's manager.
    properties:
      value:
        type: string
        description: The manager's unique identifier.
  MetaResponse:
    type: object
    description: MetaResponse is a complex attribute containing resource metadata
    properties:
      resourceType:
        description: The name of the resource type of the resource.
        allOf:
          - $ref: '#/definitions/ResourceType'
      created:
        type: string
        description: |-
          The "DateTime" that the resource was added to the service.
          provider
        format: date-time
      lastModified:
        type: string
        description: >-
          The most recent DateTime that the details of this resource were
          updated at the service provider.
        format: date-time
      location:
        type: string
        description: The URI of the resource being returned.
        format: uri
  ResourceType:
    type: string
    description: SCIM Type of Resource.
    x-enumNames:
      - User
      - Group
    enum:
      - User
      - Group
  PostUserRequest:
    type: object
    required:
      - name
      - userName
    properties:
      schemas:
        type: array
        description: User schemas.
        items:
          type: string
      id:
        type: string
        description: >-
          A unique identifier for a SCIM request as defined by the service
          provider.
        format: guid
      externalId:
        type: string
        description: >-
          A String that is an identifier for the request as defined by the
          provisioning client.
      name:
        description: The name of the user.
        allOf:
          - $ref: '#/definitions/NameRequest'
      userName:
        type: string
        description: The username of the user.
        minLength: 1
      displayName:
        type: string
        description: The display name of the user.
      title:
        type: string
        description: The title of the user.
        maxLength: 255
        minLength: 0
      active:
        type: boolean
        description: The active status of the user.
      preferredLanguage:
        type: string
        description: The preferred language of the user.
        maxLength: 7
        minLength: 0
      password:
        type: string
        description: The password of the user.
        maxLength: 255
        minLength: 0
      emails:
        type: array
        description: The emails of the user.
        items:
          $ref: '#/definitions/EmailRequest'
      phoneNumbers:
        type: array
        description: The phone numbers of the user.
        items:
          $ref: '#/definitions/PhoneNumberRequest'
      addresses:
        type: array
        description: The addresses of the user.
        items:
          $ref: '#/definitions/AddressRequest'
      urn:ietf:params:scim:schemas:extension:absorb:2.0:User:
        description: The user's extended attributes.
        allOf:
          - $ref: '#/definitions/UserExtensionRequest'
      urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
        description: The user's enterprise details.
        allOf:
          - $ref: '#/definitions/EnterpriseUserRequest'
  NameRequest:
    type: object
    description: User's name.
    required:
      - givenName
      - familyName
    properties:
      givenName:
        type: string
        description: The given name of the user.
        minLength: 1
      middleName:
        type: string
        description: The middle name of the user.
      familyName:
        type: string
        description: The family name of the user.
        minLength: 1
  EmailRequest:
    type: object
    description: Request for a user's email.
    required:
      - type
      - primary
      - value
    properties:
      type:
        type: string
        description: The label indicating the attribute's function.
        minLength: 1
      primary:
        type: boolean
        description: Indicates whether the MultiValueAttribute is primary or not.
      display:
        type: string
        description: User friendly display value.
      value:
        type: string
        description: The Attribute Value.
        format: email
        maxLength: 255
        minLength: 0
      $ref:
        type: string
        description: The Ref field is used as a URI reference to an external resource.
        format: uri
  PhoneNumberRequest:
    type: object
    description: Request for a user's phone number.
    required:
      - type
      - primary
      - value
    properties:
      type:
        type: string
        description: The label indicating the attribute's function.
        minLength: 1
      primary:
        type: boolean
        description: Indicates whether the MultiValueAttribute is primary or not.
      display:
        type: string
        description: User friendly display value.
      value:
        type: string
        description: The Attribute Value.
        maxLength: 255
        minLength: 0
      $ref:
        type: string
        description: The Ref field is used as a URI reference to an external resource.
        format: uri
  AddressRequest:
    type: object
    description: Request for a user's address.
    required:
      - primary
    properties:
      streetAddress:
        type: string
        description: The street address.
      locality:
        type: string
        description: The locality.
        maxLength: 255
        minLength: 0
      region:
        type: string
        description: The region.
        maxLength: 3
        minLength: 0
      postalCode:
        type: string
        description: The postal code.
        maxLength: 255
        minLength: 0
      country:
        type: string
        description: The country.
        maxLength: 3
        minLength: 0
      type:
        type: string
        description: The type.
      primary:
        type: boolean
        description: Indicates whether this is the primary address or not.
  UserExtensionRequest:
    type: object
    description: Request for user's extended attributes.
    properties:
      location:
        type: string
        description: Location of the user.
        maxLength: 255
        minLength: 0
      dateHired:
        type: string
        description: Date the user was hired.
        format: date-time
      gender:
        description: |-
          Gender of the user.

          Possible Enum Values: `0 = None` `1 = Male` `2 = Female` 
        allOf:
          - $ref: '#/definitions/Gender'
      customFields:
        type: array
        description: User's custom fields.
        items:
          $ref: '#/definitions/CustomFieldRequest'
      userManagementSettings:
        description: The user's management settings.
        allOf:
          - $ref: '#/definitions/UserManagementSettingsRequest'
  CustomFieldRequest:
    type: object
    description: Request for a user's custom field.
    required:
      - type
    properties:
      type:
        type: string
        description: Type of the attribute.
        minLength: 1
      display:
        type: string
        description: Display name of the attribute.
      value:
        description: Attribute value.
  UserManagementSettingsRequest:
    type: object
    description: Request for user's management settings.
    required:
      - isLearner
      - isAdmin
      - isReviewer
      - isManager
      - isInstructor
      - userManagementType
    properties:
      isLearner:
        type: boolean
        description: True if the user is a learner, false otherwise.
      isAdmin:
        type: boolean
        description: True if the user is an admin, false otherwise.
      isReviewer:
        type: boolean
        description: True if the user is a reviewer, false otherwise.
      isManager:
        type: boolean
        description: True if the user is a manager, false otherwise.
      isInstructor:
        type: boolean
        description: True if the user is an instructor, false otherwise.
      adminRoles:
        type: array
        description: |-
          The names of the admin roles the user is assigned to.
          Only applicable, when IsAdmin is true.
        items:
          type: string
      userManagementType:
        description: >-
          The type of admin the user should be updated to.

          Only applicable, but required, when IsAdmin is true.


          Possible Enum Values: `0 = None` `1 = Group` `2 = Department` `3 =
          All` 
        allOf:
          - $ref: '#/definitions/UserManagementType'
      managedGroupId:
        type: string
        description: |-
          The ID of the group the admin should manage.
          Only applicable when IsAdmin is true and UserManagementType is Group.
        format: guid
      managedDepartments:
        type: array
        description: >-
          The list of departments the admin should manage.

          Only applicable when IsAdmin is true and UserManagementType is
          Department.
        items:
          $ref: '#/definitions/ManagedDepartmentRequest'
      managerRoles:
        type: array
        description: |-
          The names of the manager roles the user is assigned to.
          Only applicable, when IsManager is true.
        items:
          type: string
  ManagedDepartmentRequest:
    type: object
    description: Request for user's managed department.
    required:
      - departmentId
      - includeSubDepartments
    properties:
      departmentId:
        type: string
        description: The department ID
        format: guid
      includeSubDepartments:
        type: boolean
        description: True if sub-departments should be included, false otherwise.
  EnterpriseUserRequest:
    type: object
    description: Request for a user's enterprise information.
    properties:
      employeeNumber:
        type: string
        description: Employee number of the user.
        maxLength: 255
        minLength: 0
      manager:
        description: Manager of the user.
        allOf:
          - $ref: '#/definitions/ManagerRequest'
  ManagerRequest:
    type: object
    description: Request for a user's manager.
    properties:
      value:
        type: string
        description: The manager's unique identifier.
        format: guid
  ListResponseOfUserResponse:
    type: object
    description: The SCIM response for paginated list requests.
    properties:
      schemas:
        type: array
        description: The response schemas.
        items:
          type: string
      totalResults:
        type: integer
        description: The total number of results returned.
        format: int32
      startIndex:
        type: integer
        description: >-
          The 1-based index of the first result in the current set of search
          results.
        format: int32
      itemsPerPage:
        type: integer
        description: The number of results returned on a page.
        format: int32
      Resources:
        type: array
        description: The list of returned resources.
        items:
          $ref: '#/definitions/UserResponse'
  PathFilterExpression:
    type: object
    required:
      - PathDivider
    properties:
      Path:
        type: string
      Filter:
        type: string
      PathDivider:
        type: string
  SortOrder:
    type: string
    description: An enumeration for the sort order of a query.
    x-enumNames:
      - Ascending
      - Descending
    enum:
      - Ascending
      - Descending
  UpdateUserRequestBody:
    type: object
    description: A request which represents a user update request body.
    required:
      - name
      - userName
    properties:
      id:
        type: string
        format: guid
      schemas:
        type: array
        description: User schemas.
        items:
          type: string
      externalId:
        type: string
        description: >-
          A String that is an identifier for the request as defined by the
          provisioning client.
      name:
        description: The name of the user.
        allOf:
          - $ref: '#/definitions/NameRequest'
      userName:
        type: string
        description: The username of the user.
        minLength: 1
      displayName:
        type: string
        description: The display name of the user.
      title:
        type: string
        description: The title of the user.
        maxLength: 255
        minLength: 0
      active:
        type: boolean
        description: The active status of the user. If null, defaults to Inactive.
      preferredLanguage:
        type: string
        description: The preferred language of the user.
        maxLength: 7
        minLength: 0
      password:
        type: string
        description: >-
          The password of the user. If password == null, no updates will be
          made.
      emails:
        type: array
        description: The emails of the user.
        items:
          $ref: '#/definitions/EmailRequest'
      phoneNumbers:
        type: array
        description: The phone numbers of the user.
        items:
          $ref: '#/definitions/PhoneNumberRequest'
      addresses:
        type: array
        description: The addresses of the user.
        items:
          $ref: '#/definitions/AddressRequest'
      urn:ietf:params:scim:schemas:extension:absorb:2.0:User:
        description: The user's extended attributes.
        allOf:
          - $ref: '#/definitions/UserExtensionRequest'
      urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
        description: The user's enterprise details.
        allOf:
          - $ref: '#/definitions/EnterpriseUserRequest'
  ScimPatchRequestOfUpdateUserRequestBody:
    type: object
    description: SCIM patch request
    required:
      - schemas
      - Operations
    properties:
      schemas:
        type: array
        description: The request schemas.
        items:
          type: string
      Operations:
        type: array
        description: The list of patch operations
        items:
          $ref: '#/definitions/PatchOperation'
  PatchOperation:
    type: object
    description: Represents a single patch operation.
    properties:
      op:
        type: string
        description: The patch operation.
      path:
        type: string
        description: The attribute path to operate on.
      value:
        description: The value of the operation.
tags:
  - name: Users
x-servers:
  - url: https://{rootUrl}
    description: null
