> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scorecard.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Unassign Record User

> Remove an assignee from a Record.



## OpenAPI

````yaml delete /records/{recordId}/assignees/{assigneeUserId}
openapi: 3.1.0
info:
  title: Scorecard API
  description: REST API for Scorecard
  version: 1.0.0
servers:
  - url: https://api2.scorecard.io/api/v2
security:
  - ApiKeyAuth: []
paths:
  /records/{recordId}/assignees/{assigneeUserId}:
    delete:
      summary: Unassign Record User
      description: Remove an assignee from a Record.
      operationId: unassignRecordUser
      parameters:
        - in: path
          name: recordId
          description: The ID of the Record to unassign from.
          schema:
            type: string
            example: '777'
          required: true
        - in: path
          name: assigneeUserId
          description: The ID of the assignee to remove.
          schema:
            type: string
            example: user_2abc123
          required: true
      responses:
        '200':
          description: The assignee was removed (or was not present).
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: number
                    description: >-
                      The number of assignment rows removed (0 if the member was
                      not assigned).
                required:
                  - deleted
              examples:
                Removed assignee:
                  value:
                    deleted: 1
                  summary: Removed assignee
                  description: Response indicating how many assignment rows were removed.
        '401':
          $ref: '#/components/responses/UnauthenticatedError'
        '500':
          $ref: '#/components/responses/ServiceError'
components:
  responses:
    UnauthenticatedError:
      description: Error indicating that the request is not authenticated.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            Authentication failure:
              value:
                code: UNAUTHORIZED
                message: Invalid or missing authentication token
                details: {}
              summary: Authentication failure
              description: >-
                Error returned when authentication credentials are invalid or
                missing.
    ServiceError:
      description: >-
        An internal service error indicating an issue with the Scorecard
        service.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            Internal error:
              value:
                code: INTERNAL_ERROR
                message: An unexpected error occurred while processing your request.
                details: {}
              summary: Internal error
              description: Generic error when an unexpected internal issue occurs.
  schemas:
    ApiError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details:
          type: object
          additionalProperties: true
          x-stainless-any: true
      required:
        - code
        - message
        - details
      description: An API error.
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: starts with ak_

````