Put
/scripts/{scripts_id}/duplicate
Duplicate a Script.
Security
OAuth
Laravel passport oauth2 security.
FlowAuthorization Code
Authorization URLhttp://processmaker.test/oauth/authorize
Token URLhttp://processmaker.test/oauth/token
Refresh URLhttp://processmaker.test/token/refresh
HTTP
Type bearer
Path parameters
scripts_id
stringRequired
ID of script to return
Body parameters
object
title
string
Represents an Eloquent model of a Script
description
string
language
string
code
string
timeout
integer
run_as_user_id
integer
key
string
script_category_id
integer
Responses
201
success
object
title
string
Represents an Eloquent model of a Script
description
string
language
string
code
string
timeout
integer
run_as_user_id
integer
key
string
script_category_id
integer
id
integer (id)
created_at
string (date-time)
updated_at
string (date-time)