:doc:`Chime <../../chime>` / Client / reset_personal_pin

******************
reset_personal_pin
******************



.. py:method:: Chime.Client.reset_personal_pin(**kwargs)

  

  Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the  User object with the updated personal meeting PIN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN>`_  


  **Request Syntax**
  ::

    response = client.reset_personal_pin(
        AccountId='string',
        UserId='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Chime account ID.

    

  
  :type UserId: string
  :param UserId: **[REQUIRED]** 

    The user ID.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'User': {
              'UserId': 'string',
              'AccountId': 'string',
              'PrimaryEmail': 'string',
              'PrimaryProvisionedNumber': 'string',
              'DisplayName': 'string',
              'LicenseType': 'Basic'|'Plus'|'Pro'|'ProTrial',
              'UserType': 'PrivateUser'|'SharedDevice',
              'UserRegistrationStatus': 'Unregistered'|'Registered'|'Suspended',
              'UserInvitationStatus': 'Pending'|'Accepted'|'Failed',
              'RegisteredOn': datetime(2015, 1, 1),
              'InvitedOn': datetime(2015, 1, 1),
              'AlexaForBusinessMetadata': {
                  'IsAlexaForBusinessEnabled': True|False,
                  'AlexaForBusinessRoomArn': 'string'
              },
              'PersonalPIN': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **User** *(dict) --* 

        The user details and new personal meeting PIN.

        
        

        - **UserId** *(string) --* 

          The user ID.

          
        

        - **AccountId** *(string) --* 

          The Amazon Chime account ID.

          
        

        - **PrimaryEmail** *(string) --* 

          The primary email address of the user.

          
        

        - **PrimaryProvisionedNumber** *(string) --* 

          The primary phone number associated with the user.

          
        

        - **DisplayName** *(string) --* 

          The display name of the user.

          
        

        - **LicenseType** *(string) --* 

          The license type for the user.

          
        

        - **UserType** *(string) --* 

          The user type.

          
        

        - **UserRegistrationStatus** *(string) --* 

          The user registration status.

          
        

        - **UserInvitationStatus** *(string) --* 

          The user invite status.

          
        

        - **RegisteredOn** *(datetime) --* 

          Date and time when the user is registered, in ISO 8601 format.

          
        

        - **InvitedOn** *(datetime) --* 

          Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.

          
        

        - **AlexaForBusinessMetadata** *(dict) --* 

          The Alexa for Business metadata.

          
          

          - **IsAlexaForBusinessEnabled** *(boolean) --* 

            Starts or stops Alexa for Business.

            
          

          - **AlexaForBusinessRoomArn** *(string) --* 

            The ARN of the room resource.

            
      
        

        - **PersonalPIN** *(string) --* 

          The user's personal meeting PIN.

          
    
  
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.NotFoundException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  