APIs & Integrations

NelsonS
Colaborador(a) | Parceiro Ouro
Colaborador(a) | Parceiro Ouro

Remove properties of the requiredProperties field in a custom scheme

Hello Community, I have an Enterprise account.

 

I have created a "Service" schema, in which at the beginning I configured the requiredProperties field with 2 properties "Llamada_de_servicio" and "placa".

 

get_a_schema.png


But when I use the endPoint Update a schema I only put "Llamada_de_servicio" and when I send the PATCH method, I get an output that still has the same properties.

update_a_schema.png

 

How can I remove the "placa" property from the requiredProperties?

 

Thank you very much.

0 Avaliação positiva
2 Respostas 2
dennisedson
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

Remove properties of the requiredProperties field in a custom scheme

@NelsonS 

You should just need to put in the property that you want required and omit the other.  In testing, I do notice that it takes a few seconds to update when I do a get request.

Try doing the request in postman or an equivelant to see if it persists

0 Avaliação positiva
NelsonS
Colaborador(a) | Parceiro Ouro
Colaborador(a) | Parceiro Ouro

Remove properties of the requiredProperties field in a custom scheme

Hi @dennisedson, I made the query by postman (GET) and the "placa" is still appearing.

 

The procedure was to use the endpoint to update the schema to place the "Llamada_de_servicio" and when I made the query the "placa" still appears (yesterday), today I consulted again to obtain the schema and the "placa" is still displayed.

NelsonS_0-1635435684467.png

 

 

 

0 Avaliação positiva