Remove properties of the requiredProperties field in a custom scheme

NelsonS
Contributor | Gold Partner

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 Upvotes
2 Replies 2
dennisedson
Community Manager

@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

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
NelsonS
Contributor | Gold Partner

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 Upvotes