mobilidade

Atualizar marca (admin)

Changed on

Atualiza o nome de uma marca ativa. Sentinel brand_outro não pode ser alterada. 409 se referenciada por veículo.

patch/admin/mobilidade/vehicle-brands/{brand_id}

Request

  • Base URL: http://localhost:8080/v1
  • URL: http://localhost:8080/v1/admin/mobilidade/vehicle-brands/{brand_id}
  • Auth: API key in header Authorization

Path parameters

brand_idstring required

ID da marca

Request body

namestring required

Example request

{
  "name": "Caloi"
}

Response

Marca atualizada

deleted_atstring
idstring
is_otherboolean
namestring

Example response

{
  "id": "brand_caloi",
  "name": "Caloi"
}

Changes