Unable to perform update/upsert by non-unique

Hello,

I want to update with another internal Id but I receive a error

https://api.hubapi.com/crm/v3/objects/companies/batch/update

{
 "inputs": [
 {
 "idProperty": "applus_id",
 "id": "10002",
 "properties": {
 "name": "Netcom GmbH",
 "address": "Hofstraße 23",
 "country": "ANDORRA",
 "phone": "06051 979494",
 "faxnummer": "06051 979496",
 "applus_id": "10002",
 "type": "RESELLER",
 "mandant": "ADN_Bochum",
 "applus_aktiv": "false",
 "lifecyclestage": "customer"
 }
 }
 ]
}
{
 "status": "error",
 "message": "Unable to perform update/upsert by non-unique 0-2 property applus_id in portal ID 144792760",
 "correlationId": "5ae50c4f-fc9a-4081-a781-7cbf7081fa72",
 "category": "VALIDATION_ERROR"
}

applus_id has to be a unique property if you’re planning on using it as an identifier for a Create / Update call.

Yes, It’s a unique property. Could you please tell me how can I do that?

When you create a property, you can check the box that says “Require unique values for this property.”
If the property has already been created, you will not be able to set it to be unique, after the fact, but you can create a new property and name it applus_id_unique, for example.