Styles

Share a style with your workspace

Changed on

Share a style you own with your API workspace. All members of the workspace will be able to use the style.

post/styles/{id}/share/workspace

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Path parameters

id, string required

A unique identifier for a style

Example:816ce72a-3535-44f4-8803-b2ab9ade0749

Response

Style shared with workspace successfully

object required

Response after sharing a style within a workspace

success, boolean required

Whether the operation succeeded

style_id, string required

The ID of the shared style

workspace, object required

The workspace the style was shared with

Changes

    • breaking

      removed the required property workspace/is_default from the response with the status

    • breaking

      the response property workspace/name became nullable for the status

    • info

      response property workspace/name list-of-types was narrowed by removing types null from media type application/json of response 200