DisablePublicUrl
DELETE/api/v1/workspaces/:workspace_id/scripts/:script_id_or_ref/public-url
Disables the public URL for a script by clearing the public_secret. After calling this endpoint, the script will no longer be accessible via its public URL.
Requires WRITE permission on the organization level.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Request fulfilled, document 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