Update org office
Path parameters
-
The office's unique document ID, i.e.
org.offices[]._id
.
PATCH
/orgs/offices/{officeId}
curl \
-X PATCH https://open.api.missionx.ai/v1/orgs/offices/{officeId} \
-H "Content-Type: application/json" \
-d '{"customId":"string","title":"string","description":"string","address":"string","country":"string"}'
Request examples
{
"customId": "string",
"title": "string",
"description": "string",
"address": "string",
"country": "string"
}
Response examples (200)
{
"_id": "string",
"customId": "string",
"title": "string",
"description": "string",
"address": "string",
"country": "string"
}
Response examples (400)
{
"message": "string",
"code": "string",
"data": {}
}
Response examples (500)
{
"message": "string",
"code": "string",
"data": {}
}