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

# Update a conference participant

> Update properties of a conference participant.



## OpenAPI

````yaml https://telnyx-openapi-ng.s3.us-east-1.amazonaws.com/call-control/conferences.yml patch /conferences/{id}/participants/{participant_id}
openapi: 3.1.0
info:
  title: Telnyx Conferences API
  version: 2.0.0
  description: API for Conferences.
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
paths:
  /conferences/{id}/participants/{participant_id}:
    patch:
      tags:
        - Conference Commands
      summary: Update a conference participant
      description: Update properties of a conference participant.
      operationId: UpdateConferenceParticipant
      parameters:
        - name: id
          in: path
          required: true
          description: Uniquely identifies the conference.
          schema:
            type: string
            format: uuid
        - name: participant_id
          in: path
          required: true
          description: Uniquely identifies the participant.
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConferenceParticipantRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConferenceParticipantResource'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '404':
          $ref: '#/components/responses/NotFoundResponse'
        '422':
          $ref: '#/components/responses/UnprocessableEntityResponse'
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Telnyx from 'telnyx';


            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });


            const response = await
            client.conferences.updateParticipant('participant_id', {
              id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
            });


            console.log(response.data);
        - lang: Python
          source: |-
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            response = client.conferences.update_participant(
                participant_id="participant_id",
                id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            )
            print(response.data)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.Conferences.UpdateParticipant(\n\t\tcontext.TODO(),\n\t\t\"participant_id\",\n\t\ttelnyx.ConferenceUpdateParticipantParams{\n\t\t\tID: \"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e\",\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.Data)\n}\n"
        - lang: Java
          source: >-
            package com.telnyx.sdk.example;


            import com.telnyx.sdk.client.TelnyxClient;

            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            import
            com.telnyx.sdk.models.conferences.ConferenceUpdateParticipantParams;

            import
            com.telnyx.sdk.models.conferences.ConferenceUpdateParticipantResponse;


            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    ConferenceUpdateParticipantParams params = ConferenceUpdateParticipantParams.builder()
                        .id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                        .participantId("participant_id")
                        .build();
                    ConferenceUpdateParticipantResponse response = client.conferences().updateParticipant(params);
                }
            }
        - lang: Ruby
          source: >-
            require "telnyx"


            telnyx = Telnyx::Client.new(api_key: "My API Key")


            response = telnyx.conferences.update_participant("participant_id",
            id: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")


            puts(response)
        - lang: CLI
          source: |-
            telnyx conferences update-participant \
              --api-key 'My API Key' \
              --id 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e \
              --participant-id participant_id
components:
  schemas:
    UpdateConferenceParticipantRequest:
      type: object
      title: Update Conference Participant Request
      properties:
        end_conference_on_exit:
          description: Whether the conference should end when this participant exits.
          type: boolean
          example: false
        soft_end_conference_on_exit:
          description: >-
            Whether the conference should soft-end when this participant exits.
            A soft end will stop new participants from joining but allow
            existing participants to remain.
          type: boolean
          example: false
        beep_enabled:
          description: Whether entry/exit beeps are enabled for this participant.
          type: string
          enum:
            - always
            - never
            - on_enter
            - on_exit
          example: always
      example:
        end_conference_on_exit: true
        beep_enabled: never
    ConferenceParticipantResource:
      type: object
      title: Conference Participant Resource
      properties:
        data:
          $ref: '#/components/schemas/ConferenceParticipant'
    ConferenceParticipant:
      type: object
      title: Conference Participant
      properties:
        id:
          description: Uniquely identifies the participant.
          type: string
        call_control_id:
          description: >-
            Unique identifier and token for controlling the participant's call
            leg.
          type: string
        call_leg_id:
          description: Unique identifier for the call leg.
          type: string
        conference_id:
          description: Unique identifier for the conference.
          type: string
        label:
          description: Label assigned to the participant when joining.
          type: string
        status:
          description: Status of the participant.
          type: string
          enum:
            - joining
            - joined
            - left
        muted:
          description: Whether the participant is muted.
          type: boolean
        on_hold:
          description: Whether the participant is on hold.
          type: boolean
        whisper_call_control_ids:
          description: List of call control IDs this participant is whispering to.
          type: array
          items:
            type: string
        created_at:
          description: Timestamp when the participant joined.
          type: string
          format: date-time
        updated_at:
          description: Timestamp when the participant was last updated.
          type: string
          format: date-time
        end_conference_on_exit:
          description: Whether the conference ends when this participant exits.
          type: boolean
        soft_end_conference_on_exit:
          description: Whether the conference soft-ends when this participant exits.
          type: boolean
    call-control_Errors:
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/call-control_Error'
    call-control_Error:
      required:
        - code
        - title
      properties:
        code:
          type: string
          format: integer
        title:
          type: string
        detail:
          type: string
        source:
          type: object
          properties:
            pointer:
              description: JSON pointer (RFC6901) to the offending entity.
              type: string
              format: json-pointer
            parameter:
              description: Indicates which query parameter caused the error.
              type: string
        meta:
          type: object
  responses:
    UnauthorizedResponse:
      description: >-
        Unauthorized. Authentication failed - the required authentication
        headers were either invalid or not included in the request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/call-control_Errors'
          example:
            errors:
              - code: '10009'
                title: Authentication failed
                detail: >-
                  The required authentication headers were either invalid or not
                  included in the request.
                meta:
                  url: https://developers.telnyx.com/docs/overview/errors/10009
    NotFoundResponse:
      description: >-
        Resource not found. The requested resource does not exist. Common causes
        include: invalid call_control_id, conference not found, audio file not
        found, or recording not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/call-control_Errors'
          examples:
            resource_not_found:
              summary: Generic resource not found
              value:
                errors:
                  - code: '10007'
                    title: Resource not found
                    detail: Resource not found
            conference_not_found:
              summary: Conference not found
              value:
                errors:
                  - code: '90058'
                    title: Invalid conference_id
                    detail: The conference does not exist.
            audio_file_not_found:
              summary: Audio file not found
              value:
                errors:
                  - code: '10005'
                    title: Audio file not found
                    detail: Provided audio file URL couldn't be found.
            recording_not_found:
              summary: Recording not found
              value:
                errors:
                  - code: '10005'
                    title: Recording not found
                    detail: >-
                      The recording could not be found. Please check the
                      recording_id and try again.
                    source:
                      pointer: /recording_id
    UnprocessableEntityResponse:
      description: >-
        Unprocessable entity. The request was well-formed but could not be
        processed due to semantic errors. This includes validation errors,
        invalid parameter values, call state errors, conference errors, queue
        errors, recording/transcription errors, and business logic violations.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/call-control_Errors'
          examples:
            missing_required_parameter:
              summary: Missing required parameter
              value:
                errors:
                  - code: '10004'
                    title: Missing required parameter
                    detail: The 'to' parameter is required and cannot be blank.
                    source:
                      pointer: /to
            invalid_call_control_id:
              summary: Invalid call control ID
              value:
                errors:
                  - code: '90015'
                    title: Invalid Call Control ID
                    detail: The call_control_id provided was not valid.
                    source:
                      pointer: /call_control_id
            call_already_ended:
              summary: Call has already ended
              value:
                errors:
                  - code: '90018'
                    title: Call has already ended
                    detail: This call is no longer active and can't receive commands.
            call_not_answered:
              summary: Call not answered yet
              value:
                errors:
                  - code: '90034'
                    title: Call not answered yet
                    detail: >-
                      This call can't receive this command because it has not
                      been answered yet.
            cannot_record_before_audio_started:
              summary: Cannot record before audio started
              value:
                errors:
                  - code: '90020'
                    title: Call recording triggered before audio started
                    detail: >-
                      Call recording cannot be started until audio has commenced
                      on the call.
            transcription_already_active:
              summary: Transcription already active
              value:
                errors:
                  - code: '90054'
                    title: Call transcription is already in progress
                    detail: Call transcription can not be started more than once.
            ai_assistant_already_active:
              summary: AI Assistant already active
              value:
                errors:
                  - code: '90061'
                    title: AI Assistant is already in progress
                    detail: AI Assistant cannot be started more than once.
            conference_already_ended:
              summary: Conference has already ended
              value:
                errors:
                  - code: '90019'
                    title: Conference has already ended
                    detail: >-
                      This conference is no longer active and can't receive
                      commands.
            conference_name_conflict:
              summary: Conference name conflict
              value:
                errors:
                  - code: '90033'
                    title: Unable to execute command
                    detail: Conference with given name already exists and it's active.
            max_participants_reached:
              summary: Maximum participants reached
              value:
                errors:
                  - code: '90032'
                    title: Maximum number of participants reached
                    detail: >-
                      The maximum allowed value of `max_participants` has been
                      reached at 100.
            queue_full:
              summary: Queue is full
              value:
                errors:
                  - code: '90036'
                    title: Queue full
                    detail: The 'support' queue is full and can't accept more calls.
            call_already_in_queue:
              summary: Call already in queue
              value:
                errors:
                  - code: '90038'
                    title: Call already in queue
                    detail: Call can't be added to a queue it's already in.
            invalid_connection_id:
              summary: Invalid connection ID
              value:
                errors:
                  - code: '10015'
                    title: Invalid value for connection_id (Call Control App ID)
                    detail: >-
                      The requested connection_id (Call Control App ID) is
                      either invalid or does not exist. Only Call Control Apps
                      with valid webhook URL are accepted.
                    source:
                      pointer: /connection_id
            invalid_phone_number_format:
              summary: Invalid phone number format
              value:
                errors:
                  - code: '10016'
                    title: Phone number must be in +E164 format
                    detail: The 'to' parameter must be in E164 format.
                    source:
                      pointer: /to
            srtp_not_supported_for_pstn:
              summary: SRTP not supported for PSTN calls
              value:
                errors:
                  - source:
                      pointer: /media_encryption
                    title: Media encryption not supported for PSTN calls
                    detail: SRTP media encryption is not supported for PSTN calls.
                    code: '10011'
            fork_not_found:
              summary: Call is not forked
              value:
                errors:
                  - code: '90031'
                    title: Call is not currently forked
                    detail: >-
                      Can't stop forking, because the call isn't currently
                      forked.
            media_streaming_used:
              summary: Media streaming in use
              value:
                errors:
                  - code: '90045'
                    title: Media Streaming is used
                    detail: This command can't be issued when media streaming is used.
            invalid_enumerated_value:
              summary: Invalid enumerated value
              value:
                errors:
                  - code: '10032'
                    title: Invalid enumerated value
                    detail: 'The value must be one of: dual, single.'
                    source:
                      pointer: /record_channels
            value_outside_range:
              summary: Value outside of range
              value:
                errors:
                  - code: '10033'
                    title: Value outside of range
                    detail: The value is outside of allowed range 1 to 5000
                    source:
                      pointer: /max_participants
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````