Create custom field
documentedCreate a new custom field.
POST /custom_fields.jsonCustom Fieldsno 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.samanage.com/custom_fields.json" \
-X POST \
-H "Accept: application/vnd.samanage.v1.1+json" \
-H "Content-Type: application/json" \
-H "X-Samanage-Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"custom_field": {"name": "{{$name}}", "type": "{{$type}}", "description": "{{$description}}", "display_as": "{{$display_as}}", "enable": true, "is_global": false, "editable": true, "options": {{$options}}}}'