Sign in

Create custom field

documented

Create a new custom field.

POST /custom_fields.jsonCustom Fieldsno 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_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}}}}'
Create custom field · samanage · OpenIntegrations