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

# Update Profile Name

> Change the profile name shown on a Trust Validation.

Use this endpoint to correct or replace the profile name on an existing Trust Validation. The response returns the old and the new name so you can confirm the change.

> [!NOTE]
>
> If your API token belongs to a user with the **User** role, make sure the role has the `edit_verification` permission. Otherwise the request returns `403`.


## OpenAPI

````yaml api-reference/processes/update-profile-name/update-profile-name.openapi.json PUT /api/v3/trustvalidations/{trustValidationId}/updateprofilename
openapi: 3.0.3
info:
  title: IDmeta API - Update Profile Name
  version: 1.0.0
servers:
  - url: https://{environment-subdomain}.idmetagroup.com
    description: Your environment (replace `{environment-subdomain}`)
    variables:
      environment-subdomain:
        default: integrate
        enum:
          - integrate
          - api.ph
        description: >-
          IDmeta environment subdomain. Use `api.ph` for
          portalph.idmetagroup.com and `integrate` for verify.idmetagroup.com.
security:
  - bearerAuth: []
paths:
  /api/v3/trustvalidations/{trustValidationId}/updateprofilename:
    put:
      tags:
        - Processes
      summary: Update Profile Name
      description: >-
        Changes the profile name shown on a Trust Validation. The response
        returns both the old and the new profile name.


        If the API token's user has the **User** role, they need the
        `edit_verification` permission and access to the trust flow the Trust
        Validation belongs to.
      operationId: updateTrustValidationProfileNameV3
      parameters:
        - name: trustValidationId
          in: path
          required: true
          description: ID of the Trust Validation to update.
          schema:
            type: string
            example: '{your_trust_validation_id}'
        - name: Accept
          in: header
          required: false
          schema:
            type: string
            default: application/json
        - name: Content-Type
          in: header
          required: false
          schema:
            type: string
            default: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - profileName
              properties:
                profileName:
                  type: string
                  maxLength: 255
                  description: >-
                    New profile name for the Trust Validation. Leading and
                    trailing spaces are removed.
                  example: Juan Dela Cruz
            examples:
              default:
                summary: Update a profile name
                value:
                  profileName: Juan Dela Cruz
      responses:
        '200':
          description: Profile name updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Profile name updated successfully
                  trustValidationId:
                    type: string
                    description: ID of the updated Trust Validation.
                  oldProfileName:
                    type: string
                    nullable: true
                    description: Profile name before the update.
                  newProfileName:
                    type: string
                    description: Profile name after the update.
                  createdAt:
                    type: string
                    description: Response timestamp in UTC.
              examples:
                updated:
                  summary: Profile name updated
                  value:
                    success: true
                    message: Profile name updated successfully
                    trustValidationId: '{your_trust_validation_id}'
                    oldProfileName: Juan D. Cruz
                    newProfileName: Juan Dela Cruz
                    createdAt: 2026-11-16 08:41:00+0000
                noPreviousName:
                  summary: No previous profile name
                  value:
                    success: true
                    message: Profile name updated successfully
                    trustValidationId: '{your_trust_validation_id}'
                    oldProfileName: null
                    newProfileName: Juan Dela Cruz
                    createdAt: 2026-11-16 08:41:00+0000
        '400':
          description: profileName missing, not a string, or longer than 255 characters
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                  errors:
                    type: object
                    additionalProperties: true
              examples:
                missingProfileName:
                  summary: profileName is missing
                  value:
                    success: false
                    message: The profile name field is required.
                    errors:
                      profileName:
                        - The profile name field is required.
                    createdAt: 2026-11-16 08:41:00+0000
                profileNameTooLong:
                  summary: profileName is longer than 255 characters
                  value:
                    success: false
                    message: >-
                      The profile name field must not be greater than 255
                      characters.
                    errors:
                      profileName:
                        - >-
                          The profile name field must not be greater than 255
                          characters.
                    createdAt: 2026-11-16 08:41:00+0000
        '401':
          description: Missing or invalid token
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                  errors:
                    type: object
                    additionalProperties: true
              examples:
                unauthenticated:
                  summary: Missing or invalid API token
                  value:
                    success: false
                    message: Unauthenticated.
                    createdAt: 2026-11-16 08:41:00+0000
        '403':
          description: >-
            The user has the User role and lacks the edit_verification
            permission
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                  errors:
                    type: object
                    additionalProperties: true
              examples:
                missingPermission:
                  summary: User role lacks edit_verification
                  value:
                    success: false
                    message: >-
                      Forbidden. You do not have permission to edit a Trust
                      Validation.
                    createdAt: 2026-11-16 08:41:00+0000
        '404':
          description: >-
            Trust Validation not found, belongs to a different company, or
            belongs to a trust flow the user can't access
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                  errors:
                    type: object
                    additionalProperties: true
              examples:
                notFound:
                  summary: Trust Validation not found
                  value:
                    success: false
                    message: Trust Validation not found.
                    errors:
                      trustValidationId: Trust Validation not found.
                    createdAt: 2026-11-16 08:41:00+0000
        '500':
          description: Unexpected server error. Try the request again later.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                  errors:
                    type: object
                    additionalProperties: true
                  createdAt:
                    type: string
              examples:
                internalError:
                  summary: Internal server error
                  value:
                    success: false
                    message: Internal Server Error
                    createdAt: 2026-11-16 08:41:00+0000
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use `Bearer {your_api_token}` in the Authorization header.

````

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