Offices
Update an office for a given office id.
Updates an office referenced by id. Only the attributes submitted are modified.
put/offices/{id}
Request
- Base URLhttps://sandbox-api.kenjo.io/api/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Example:60a2db290da29e126a18789a
The _id of the office entry to request.
Headers
Authorizationstring required
Example:Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FwaS5rZW5qby5pbyIsInN1YiI6IjYwZjBhOTE2MjE0OTg3MjU2YmU5YzhmZiIsImF1ZCI6Imh0dHBzOi8vYXBpLmtlbmpvLmlvIiwiaWF0IjoxNjI2Mzg1MTE1LCJuYmYiOjE2MjYzODUxMTUsImV4cCI6MTYyNjU1NzkxNSwiYWNjZXNzVHlwZSI6IkFwaUFjY2VzcyIsInNfb3JnSWQiOiI2MGYwNGVhN2RmN2JhMjFlY2U0YmYzYzIifQ.cxG_7dIS-VbmDXdJuLkekoyuyCIzQG2fMcgc0nkfbWE8cihhcb5FnALbQkjU9b5-qVcEoMHZlSuUA-jMEBMMVQ
A valid bearer token.
Request body
Example request
{
"name": "Madrid office"
}Response
OK
Example response
{
"_id": "40a2db290da29e126a18789a",
"name": "Madrid office"
}Changes
No recorded changes to this operation across all 1 revision of this API.