Rename a Property in CRM API

Hi.

I tried searching but found no results.

How can I rename a property in V3 CRM API?

I am using the hubspot/api-client for PHP.

HubSpot\Client\Crm\Properties\PropertyCreate has a setter setName()
HubSpot\Client\Crm\Properties\PropertyUpdate does not

I’m not interested in using the legacy API.

Hi, @smj-php :waving_hand: Thanks for reaching out. To clarify, are you trying to edit the Internal Name (used when making API calls) or the Label (shown in-app, for example)? Labels can be edited, but internal values cannot. This is not something we can get around.

I can provide an example of changing the Label if that is helpful.

Best,

Jaycee

Hi @Jaycee_Lewis . Thanks for the reply. My apologies I should have said; I am trying to rename a custom property. Not the label, but the propertyName from when it was created.