Update a Make/Model/Year - level2
Update a Make/Model/Year - level2
Authorizations:Token, JWT
Query Parameters
id required | integer>= 1 |
Request Body Schema:
The updated Make/Model/Year - Level2 resource enabled | booleanDefault: true Example: true | ||||||||||||||||
value | string<= 1024 characters | ||||||||||||||||
show_on_front_page | boolean | ||||||||||||||||
title | string<= 1024 characters | ||||||||||||||||
description | string | ||||||||||||||||
clean_url | string | ||||||||||||||||
level1 | integer | ||||||||||||||||
level3 | Array of integers | ||||||||||||||||
logo | object or null | ||||||||||||||||
| |||||||||||||||||
banners | Array of objects or null | ||||||||||||||||
Array
|
Responses
200Make/Model/Year - Level2 resource updated
Response schema:
Make/Model/Year - Level2 resource updated enabled | booleanDefault: true Example: true | ||||||||||
value | string<= 1024 characters | ||||||||||
show_on_front_page | boolean | ||||||||||
title | string<= 1024 characters | ||||||||||
description | string | ||||||||||
clean_url | string | ||||||||||
level1 | integer | ||||||||||
level3 | Array of integers | ||||||||||
logo | object or null | ||||||||||
| |||||||||||
banners | Array of objects or null | ||||||||||
Array
| |||||||||||
id | integer or null>= 1 |
400Invalid input
401Unauthorized
Response schema:
Unauthorized type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
404Resource not found
Response schema:
Resource not found type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |
422Unprocessable entity
500Internal error
Response schema:
Internal error type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
title | stringExample: "An error occurred" |
detail | string or nullExample: "Cannot find entity" |
instance | string or null |