Skip to main content
PATCH
Update Custom Code

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

custom_code_head
string

Code inside the tag. Omission preserves the current value. An empty string clears it. Null is rejected.

Maximum string length: 200000
custom_code_body
string

Code immediately before the closing tag. Omission preserves the current value. An empty string clears it. Null is rejected.

Maximum string length: 200000

Response

School custom code.

custom_code_head
string | null
required

Code inside the tag.

custom_code_body
string | null
required

Code immediately before the closing tag.