1. Operations
2. content
3. subscribed library

## content subscribed library: sync

Forces the synchronization of the subscribed library.

Synchronizing a subscribed library forcefully with this operation will perform the same synchronization behavior as would run periodically for the library. The content.library.subscription_info.on_demand setting is respected. Calling this operation on a library that is already in the process of synchronizing will have no effect.

### Request:

#### HTTP request

POST https://{server}/rest/com/vmware/content/subscribed-library/id:{library_id}?~action=sync

#### Path Parameters

Name | Type | Description
--- | --- | ---
Required
library_id | string | Identifier of the subscribed library to synchronize.

### Response:

#### HTTP Status Code: 200

None

#### Errors:

HTTP Status Code | Type | Description
--- | --- | ---
404 | not_found | if the library specified by `library_id` does not exist.
400 | invalid_element_type | if the library specified by `library_id` is not a subscribed library.
400 | invalid_argument | if some parameter in the subscribed library subscription info is invalid.
400 | resource_inaccessible | if the published library cannot be contacted or found.