Skip to navigation

Create or update this office's settings

Instant office-level toggles and overrides from the list and Office Overview pages.

Authentication

AuthorizationBearer

API session token from POST /v1/admin/session (8 hours). Sign-in itself is Google Workspace; see research R2.

Path parameters

pestIdstringRequired
officeIdstringRequired

Request

This endpoint expects an object.
activebooleanRequired
requiredAddOnIdstringOptional<=255 characters

Add-on forced when this pest is picked (TP-6), or ‘none’ to require nothing at this level. Remove the override to inherit.

versionintegerOptional

Version you last read. Omit on create; required on update. A stale value returns 409 version_conflict.

Response

Saved
activeboolean
officeIdstringOptionalRead-only<=255 characters
requiredAddOnIdstringOptional<=255 characters

Add-on forced when this pest is picked (TP-6), or ‘none’ to require nothing at this level. Remove the override to inherit.

inheritedbooleanOptionalRead-only
versionintegerOptional

Version you last read. Omit on create; required on update. A stale value returns 409 version_conflict.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error