Skip to main content
PATCH
Toggle Generation Public V2
Change whether a generation is publicly visible or private.

Headers

Authorization
string
required
Bearer token for authentication

Path Parameters

generation_id
string
required
Unique generation identifier

Body

is_public
boolean
required
Set to true to make public, false to make private

Response

id
string
Generation unique identifier
is_public
boolean
Updated public visibility status
message
string
Confirmation message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

generation_id
string<uuid>
required

Body

application/x-www-form-urlencoded
is_public
boolean
required

Response

Successful Response