Skip to navigation

Instant global toggle

Authentication

AuthorizationBearer

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

Path parameters

pestIdstringRequired

Request

This endpoint expects an object.
activebooleanRequired

Response

Saved
namestring1-100 characters
activeboolean
idstringOptionalRead-only<=255 characters

Server-generated.

descriptionstringOptional<=1000 characters
iconobjectOptional
primaryPlanIdstringOptional<=255 characters

Global only (TP-7).

secondaryPlanIdstringOptional<=255 characters

Global only (TP-7).

officeslist of objectsOptionalRead-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
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error