Update a design library
Updates a design library.
Update the library from its source space. Include its current sys.version in X-Contentful-Version to lock against concurrent edits.
Update requirements:
- Supply all four editable fields:
name,description,sharedWithSpacesandrecommendedVersion, including unchanged values. - The source environment and taxonomy concept cannot be changed.
- Set
descriptionorrecommendedVersiontonullto clear it. - A recommended version must belong to this library and have status
succeeded.
Authentication
AuthorizationBearer
Contentful Management API token
Path parameters
designLibraryId
spaceId
Headers
X-Contentful-Version
The design library’s current sys.version, as a decimal integer from 1 to 2147483647.
Request
Body
name
description
A description of up to 1,000 characters. Set it to null to clear the current description.
recommendedVersion
A link to a succeeded version of this design library. Set it to null to clear the recommendation.
Response
200
sys
name
description
recommendedVersion
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error