Sign in

Update resource

documented

Update an existing resource and its file data.

PUT /api/v3/resources/{resource_id}.jsonResourcesno implementation yet0 runs
No 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}}}'
Update resource · Device Magic · OpenIntegrations