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
- 201
- 400
- 401
- 403
- 404
Document created, URL follows
Response Headers
Bad request syntax or unsupported method
No permission -- see authorization schemes
Request forbidden -- authorization will not help
Nothing matches the given URI