StyleBook configuration

Use API to update a custom StyleBook

You can use API to update a custom StyleBook. When you update a StyleBook, you can make changes to the StyleBook without changing its version. You can also update the definitions imported from a StyleBook bundle.

POST: https://<ADM-endpoint-name>/stylebook/nitro/v2/config/stylebooks/<Namespace>/<version>/<Name>/actions/update?mode=async

Payload:

{
    "update": {
        "encoding": "base64",
        "source": "<base 64 encoded content of the stylebook definition>"
}
}
    }
}
<!--NeedCopy-->

Note

This API is asynchronous and returns a job ID. The job ID can be used to track the update job to completion, similar to the API for importing a StyleBook.

Use API to update a custom StyleBook

In this article