Skip to main content
POST
Publish a text item to the library

Authorizations

Authorization
string
header
required

Body

application/json
textItemId
string
required

Developer ID of the text item to publish. It must not already be a library instance.

name
string
required

The name of the new library component.

folderId
string

The developer ID of the folder to add the component to. If omitted, the component will be added to the library root.

Response

Returns the developer ID of the newly created library component

developerId
string
required

Developer ID of the newly created library component. This is the same developer ID the text item had before publishing.