Skip to navigation

Push Library Updates

Update the sites that installed this site’s library to its latest version. By default, the push updates every outdated site. Each update replaces the library’s components on that site.

The siteIds in the response are the sites the push updates. The push runs in the background. Poll Get Library Push Status until status is finished.

Requires permission to manage libraries in the workspace, or to manage libraries on this site.

Required scope | libraries:write

Authentication

AuthorizationBearer

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

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site

Request

This endpoint expects an object.
siteIdslist of stringsOptional
Sites to update. Each site must have the library installed. When omitted, the push updates every outdated site.

Response headers

LocationstringOptional
URL of Get Library Push Status for this site

Response

The push is queued
statusenum
Allowed values:
siteIdslist of strings
Sites the push updates.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error