timezone
Update a timezone
Changed onUpdate an existing timezone entry.
patch/timezones/{id}
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the user to retrieve the region information for.
Request body
Response
Timezone updated successfully
Example response
{
"status": "success",
"status_code": 200
}Changes
- breaking
added the new path request parameter
id - warning
deleted the
pathrequest parametertimezone_id
- breaking
- breaking
added the new path request parameter
timezone_id - warning
deleted the
pathrequest parameterid
- breaking