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
  • URL: https://api.krea.ai/styles/{id}/share/workspace
  • Auth: HTTP bearer

Path parameters

idstring required

A unique identifier for a style

Example:0bfe7d87-48b8-45a3-8c62-fe276e42a70a

Response

Style shared with workspace successfully

successboolean required

Whether the operation succeeded

style_idstring required

The ID of the shared style

Changes

    • breaking

      removed the required property / from the response with the status

    • breaking

      the response property / 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