Uninstall Library
Uninstall a shared library from the site. Pass the installed version ID from List Installed Libraries as library_id. You can also uninstall a library that its source site unshared.
The uninstall runs in the background. Poll Get Library Uninstall Status until status is finished or failed.
Requires permission to manage libraries on the site.
Required scope | libraries:write
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
site_id
Unique identifier for a Site
library_id
Unique identifier for a library version (the id from List Libraries or List Installed Libraries)
Response headers
Location
URL of Get Library Uninstall Status for this library
Response
The uninstall is queued
status
Allowed values:
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