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

# Remove a past-participant invite from a draft

> Remove a selected participant while the project is a draft.



## OpenAPI

````yaml delete /v1/projects/{projectId}/pending-invites/{profileId}
openapi: 3.0.0
info:
  title: Partner API
  description: Public API for partner integrations
  version: '1.0'
  contact: {}
servers:
  - url: https://api-staging.respondent.io
security: []
tags: []
paths:
  /v1/projects/{projectId}/pending-invites/{profileId}:
    delete:
      tags:
        - projects
      summary: Remove a past-participant invite from a draft
      operationId: ProjectsController_removePendingInvite
      parameters:
        - name: x-api-key
          in: header
          required: true
          schema:
            type: string
        - name: x-api-secret
          in: header
          required: true
          schema:
            type: string
        - name: projectId
          required: true
          in: path
          schema:
            type: string
        - name: profileId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PendingInvitesDto'
components:
  schemas:
    PendingInvitesDto:
      type: object
      properties:
        participants:
          type: array
          items:
            $ref: '#/components/schemas/PendingInviteParticipantDto'
        lastAttempt:
          $ref: '#/components/schemas/PendingInvitesLastAttemptDto'
        sent:
          type: number
          minimum: 0
      required:
        - participants
        - sent
    PendingInviteParticipantDto:
      type: object
      properties:
        profileId:
          type: string
          format: ObjectId
        sourceProjectId:
          type: string
          description: Source project on the same team, for follow-up provenance.
          format: ObjectId
        firstName:
          type: string
        lastName:
          type: string
          description: Surname initial.
        picture:
          type: string
        skipScreener:
          type: boolean
        addedAt:
          format: date-time
          type: string
      required:
        - profileId
        - firstName
        - lastName
        - skipScreener
        - addedAt
    PendingInvitesLastAttemptDto:
      type: object
      properties:
        at:
          format: date-time
          type: string
        trigger:
          enum:
            - launch
            - manual
          type: string
        outcome:
          enum:
            - failed
            - partial
            - completed
          type: string
        reason:
          enum:
            - UNEXPECTED_ERROR
            - TIMEOUT
            - PROJECT_BUSY
          type: string
        notInvited:
          type: array
          items:
            $ref: '#/components/schemas/PendingInviteNotInvitedDto'
      required:
        - at
        - trigger
        - outcome
        - notInvited
    PendingInviteNotInvitedDto:
      type: object
      properties:
        profileId:
          type: string
          format: ObjectId
        name:
          type: string
        reason:
          enum:
            - ADMITTED
            - INVITED_TO_APPLY
            - AWAITING_RESEARCHER
            - SKIPPED_ALREADY_RESPONDED
            - SKIPPED_ALREADY_INVITED
            - SKIPPED_PROJECT_LINK_REQUIRED
            - SKIPPED_PROJECT_CLOSED
            - SKIPPED_PROFILE_DISABLED
            - SKIPPED_ERROR
          type: string
      required:
        - profileId
        - reason

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.