Update resource
documentedUpdate an existing resource and its file data.
PUT /api/v3/resources/{resource_id}.jsonResourcesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.devicemagic.com/api/v3/resources/{{$resource_id}}.json" \
-X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"name": "{{$name}}", "description": "{{$description}}", "type": "{{$type}}", "data": {{$data}}}'