cURL
curl --request PUT \ --url https://api.rigbox.dev/api/setup-scripts/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>", "name": "<string>", "run_on": "<string>", "script_order": 123 } '
{ "content": "<string>", "created_at": "<string>", "id": "<string>", "name": "<string>", "run_on": "<string>", "script_order": 123, "source": "<string>", "updated_at": "<string>", "user_id": "<string>" }
Update a setup script’s content or metadata.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Script ID
Setup script updated