Skip to main content

EnablePublicUrl

POST 

/api/v1/workspaces/:workspace_id/scripts/:script_id_or_ref/public-url

Enables or regenerates the public URL for a script. This creates a new public_secret UUID that can be used to access the script without authentication. Calling this endpoint again will generate a new UUID, invalidating any previous public URLs.

Requires WRITE permission on the organization level.

Request

Responses

Document created, URL follows

Response Headers