---
title: "Creates a PluginParameterType resource"
method: POST
path: "/api/v1/pluginParameterTypes/"
tags: ["PluginParameterTypes"]
---

# Creates a PluginParameterType resource

`POST /api/v1/pluginParameterTypes/`

## Headers

- `X-Fields` string, mask

## Request body

- PluginParameterTypeLoad
  - `group` integer, required — ID of the Group that will own the PluginParameterType resource.
  - `name` string, required — Name of the PluginParameterType resource.
  - `description` string — Description of the PluginParameterType resource.
  - `structure` object — Structure of the PluginParameterType resource.

## Response `200`

Success

- PluginParameterTypeDump
  - `id` integer — ID for the PluginParameterType resource.
  - `snapshot` integer — ID for the underlying PluginParameterType snapshot.
  - `group` GroupRef
    - `id` integer — ID for the Group resource.
    - `name` string — Name of the Group resource.
    - `url` string — URL for accessing the full Group resource.
  - `user` UserRefDump
    - `id` integer — ID for the User resource.
    - `username` string — Username of the User resource.
    - `url` string — URL for accessing the full User resource.
  - `createdOn` string, date-time — Timestamp when the PluginParameterType resource was created.
  - `snapshotCreatedOn` string, date-time — Timestamp when the PluginParameterType resource snapshot was created.
  - `lastModifiedOn` string, date-time — Timestamp when the PluginParameterType resource was last modified.
  - `latestSnapshot` boolean — Whether or not the PluginParameterType resource is the latest version.
  - `hasDraft` boolean — Whether a draft exists for the PluginParameterType resource.
  - `tags` TagRefDump[]
    - `id` integer — ID for the Tag.
    - `name` string — Name of the Tag.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Tag.
  - `name` string, required — Name of the PluginParameterType resource.
  - `description` string — Description of the PluginParameterType resource.
  - `structure` object — Structure of the PluginParameterType resource.

## Changes

- **2026-07-17** `a73101579c5c` — 1 info
  - added the optional property `snapshotCreatedOn` to the response with the `200` status
- **2024-07-24** `9a36b9043379` — 1 warning
  - removed the optional property `snapshotCreatedOn` from the response with the `200` status

[Change history](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/changes/api/v1/pluginParameterTypes/post.md)

---

[API](https://skmtc.dev/usnistgov/apis/dioptra-rest-api.md) · [All operations](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usnistgov/dioptra-rest-api/revisions/a73101579c5c/schema)
