Sign in

Update custom form

documented

Update a custom form.

PUT /custom_forms/{id}.jsonCustom Formsno 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.samanage.com/custom_forms/{{$id}}.json" \
  -X PUT \
  -H "X-Samanage-Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"custom_form": {"name": "{{$name}}", "description": "{{$description}}", "enabled": {{$enabled}}, "custom_form_fields": [{"name": "{{$field_name}}", "type": "{{$field_type}}", "required": {{$field_required}}}]}}'